Hey. > Changing the command line stuff is pretty simple, but once I get past > that point I run into the following error > > Error: (values) continuation can not receive multiple values: #<procedure> > > I havn't used chicken much in the past so I havn't seen this error > before. Considering that this error is new to me and that there arn't > any line numbers reported I am having a somewhat difficult time > figuring out the problem. If one of you could help me figure this out > that would be great.
This error means that a certain continuation only expects one value in a place where an expression is returning more than one. An example problematic expression would be â(+ (values 1 2) 3)â. Here the continuation of â(values 1 2)â, â(lambda (x) (+ x 3))â, expects one value but the expression returns more. In Common Lisp, it is valid for an expression to return multiple values when the continuation only accepts one. This is used by many functions to return the usual value as their first value and some other less-often-used results as the other values. This does not work in Chicken (nor in other Scheme implementations I tried), though. So look for expressions returning multiple values where only one is used. I hope this helps. Alejo. http://bachue.com/alejo ---=( Comunidad de Usuarios de Software Libre en Colombia )=--- ---=( http://bachue.com/colibri )=--=( [EMAIL PROTECTED] )=--- _______________________________________________ Chicken-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/chicken-users
