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: Taylor R Campbell
Subject: Re: [MIT-Scheme-users] ERROR: Wrong number of arguments to #<procedure ......
Date: Thu, 12 Jul 2012 00:16:10 +0000
User-agent: IMAIL/1.21; Edwin/3.116; MIT-Scheme/9.1

   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]