mit-scheme-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MIT-Scheme-users] ERROR: Wrong number of arguments to #<procedure .


From: Simon Huskier
Subject: Re: [MIT-Scheme-users] ERROR: Wrong number of arguments to #<procedure ......
Date: Thu, 12 Jul 2012 08:27:11 +0800


Campbell, Could you say it more directly? How should I correct my code?

Maybe it is Guile mail list, but they are all Scheme.

Thanks.

Simon

On Thu, Jul 12, 2012 at 8:16 AM, Taylor R Campbell <address@hidden> wrote:
   Date: Thu, 12 Jul 2012 08:09:29 +0800
   From: Simon Huskier <address@hidden>

   When I run the following piece of code, I encountered an error:
       *ERROR: Wrong number of arguments to #<procedure lattice->cartesian (x)>
   *

I think you have the wrong mailing list -- that doesn't look like an
MIT Scheme error!  Perhaps Gambit?  But, that said...

   ;;;; function definition
   > (define (eps-func p)
   >    (let* ((p (lattice->cartesian))

It looks like you forgot to pass an argument -- perhaps P -- to
LATTICE->CARTESIAN here.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]