[Larceny-users] Larceny v0.963 what is bound to 'make-parameter ?

Felix Klock felixluser at pnkfx.org
Thu Jul 31 17:59:36 EDT 2008


Ken-

On Jul 31, 2008, at 5:50 PM, Ken Dickey wrote:

>> larceny
> Larceny v0.963 "Fluoridation" (Jul 29 2008 17:41:31,  
> precise:Linux:unified)
> larceny.heap, built on Tue Jul 29 17:43:55 EDT 2008
>
>> (define p (make-parameter 3))
>
>
> Error: Wrong number of arguments to procedure #<PROCEDURE make- 
> parameter>,
>    which expected #!unspecified but got 1
> Entering debugger; type "?" for help.
> debug> q
>
>> (make-parameter)  ;; Huh?
>
>
> Error: Wrong number of arguments to procedure #<PROCEDURE make- 
> parameter>,
>    which expected #!unspecified but got 0
> Entering debugger; type "?" for help.
> debug> q

Its unfortunate that the error message is not giving you the actual  
arity that make-parameter *does* expect.

But make-parameter is documented in the Larceny manual.  Larceny's  
version of make-parameter takes at least 2 arguments.

See section "10.13. Parameters"

-Felix





More information about the Larceny-users mailing list