Jonathan A Rees | 12 Apr 2003 22:23
Favicon

bug in call-with-values

Welcome to Scheme 48 1.0 (made by jar on Thu May  2 18:02:38 EDT 2002).
Copyright (c) 1993-2001 by Richard Kelsey and Jonathan Rees.
Please report bugs to scheme-48-bugs <at> martigny.ai.mit.edu.
Type ,? (comma question-mark) for help.

...
1: (call-with-values (lambda () (values 1 2)) list)

Error: returning wrong number of values
       (#{Procedure 7449} ())
2> 
Up!

Error: wrong number of arguments
       ('#{Procedure 7438 (unnamed in unnamed in loop in ---)})
1: ,bench
will compile some calls in line
1: (call-with-values (lambda () (values 1 2)) list)
'(1 2)

 [0] 1
 [1] 2
1: 

Picon

Re: bug in call-with-values

>>>>> "jar" == Jonathan A Rees <Jonathan> writes:

jar> Welcome to Scheme 48 1.0 (made by jar on Thu May  2 18:02:38 EDT 2002).
jar> Copyright (c) 1993-2001 by Richard Kelsey and Jonathan Rees.
jar> Please report bugs to scheme-48-bugs <at> martigny.ai.mit.edu.
jar> Type ,? (comma question-mark) for help.

jar> ...
jar> 1: (call-with-values (lambda () (values 1 2)) list)

Whatever it was, it's gone in the current Subversion code.  (Both the
rk/ and the tuebingen/trunk branches work correctly.)

--

-- 
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla


Gmane