[plt-scheme] [plai] bug with mutator?

From: Jay McCarthy (jay.mccarthy at gmail.com)
Date: Mon May 24 20:46:56 EDT 2010

Yes this is a dumb bug from me. I just pushed a fix.

Jay

On Mon, May 24, 2010 at 5:59 PM, Eric Tanter <etanter at dcc.uchile.cl> wrote:
> Hi,
>
> #lang plai
> (define-type A (a (x number?)))
>
>> (set-a-x! (a 10) 1)
> . . procedure set-a-x!: expects 1 argument, given 2: (a 10) 1
>
> how can the mutator expect only one argument?
>
> even stranger:
>> (set-a-x! (a 10))
> . . #<procedure>: expects 2 arguments, given 1: (a 10)
>
> is that a bug?
>
> Thanks,
>
> -- Éric
>
>
> _________________________________________________
>  For list-related administrative tasks:
>  http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>



-- 
Jay McCarthy <jay at cs.byu.edu>
Assistant Professor / Brigham Young University
http://teammccarthy.org/jay

"The glory of God is Intelligence" - D&C 93


Posted on the users mailing list.