This is the mail archive of the guile@cygnus.com mailing list for the guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: multiple return values



>The following is said to be an R5RS compliant implementation of 
>multiple values in R4RS Scheme.  Am I missing something, or couldn't
>somebody just toss this into an initialization file and be a happy
>hacker?

That won't get you error checking.  The following expression should
signal an error, but with the implementation you posted, it's the
threshold into chaos:

(car (values 1 2 3))

Also: loading that won't make the repl handle things properly.

(As was pointed out to me last weekend, ML gets this right... *sigh*)