[parenscript-devel] Discrepancy in MULTIPLE-VALUE-BIND

Daniel Gackle danielgackle at gmail.com
Tue Feb 23 05:53:50 UTC 2010


Well, I ran across the discrepancy precisely because I was using the
behavior. However, it isn't that important in the present case, and nobody
else has mentioned it, so I agree that it isn't worth a major effort to fix.

On Mon, Feb 22, 2010 at 10:40 PM, Vladimir Sedach <vsedach at gmail.com> wrote:

> Fixing this with the current implementation would require
> whole-program analysis. This is one of those things where I am
> inclined not to fix it - I only ever used this behavior once, that I
> remember.
>
> Vladimir
>
> 2010/2/22 Daniel Gackle <danielgackle at gmail.com>:
> > Looks like our implementation doesn't match CL's after all.
> >
> > (blah2-call) evaluates to (2 5) in Common Lisp, but [2, undefined] in
> > Parenscript.
> >
> > (defun blah1 ()
> >   (values 2 5))
> >
> > (defun blah2 ()
> >   (blah1))
> >
> > (defun blah2-call ()
> >   (multiple-value-bind (a b) (blah2) (list a b)))
> >
> > Daniel
> >
> > _______________________________________________
> > parenscript-devel mailing list
> > parenscript-devel at common-lisp.net
> > http://common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel
> >
> >
>
> _______________________________________________
> parenscript-devel mailing list
> parenscript-devel at common-lisp.net
> http://common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/parenscript-devel/attachments/20100222/d34f6f7f/attachment.html>


More information about the parenscript-devel mailing list