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 <campb...@mumble.net>wrote: > Date: Thu, 12 Jul 2012 08:09:29 +0800 > From: Simon Huskier <husk...@gmail.com> > > 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. >
_______________________________________________ MIT-Scheme-users mailing list MIT-Scheme-users@gnu.org https://lists.gnu.org/mailman/listinfo/mit-scheme-users