[parenscript-devel] DESTRUCTURING-BIND broken with parallel LET

Vladimir Sedach vsedach at gmail.com
Mon Jun 8 05:31:40 UTC 2009


Done.

On Thu, Jun 4, 2009 at 3:43 PM, <sblist at me.com> wrote:
> DESTRUCTURING-BIND relies on sequential evaluation
> in its generated bindings, so must be updated to use LET*:
>
> diff --git a/src/lib/ps-macro-lib.lisp b/src/lib/ps-macro-lib.lisp
> index cb413cf..5c65ad6 100644
> --- a/src/lib/ps-macro-lib.lisp
> +++ b/src/lib/ps-macro-lib.lisp
> @@ -146,4 +146,4 @@
>                    (mapcan (lambda (var)
>                              (incf n)
>                              (when var `((,var (aref ,arr ,n)))))
> vars))))
> -    `(let ,bindings , at body)))
> +    `(let* ,bindings , at body)))
>
> - Scott
>
> _______________________________________________
> parenscript-devel mailing list
> parenscript-devel at common-lisp.net
> http://common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel
>




More information about the parenscript-devel mailing list