Subject: multiple assignment stuff in src/mlisp.lisp
From: Daniel Lakeland
Date: Tue, 27 Feb 2007 13:10:52 -0800
On Tue, Feb 27, 2007 at 12:31:36PM -0700, Robert Dodier wrote:
> On 2/27/07, Stavros Macrakis <macrakis at alum.mit.edu> wrote:
>
> > I see the code actually specifies the behavior in cases like this:
> >
> > > ;; [a,b,c]:[x,y,z] means about the same as a:x, b:y, c:z. Actually it
> > > ;; evaluates x,y,z BEFORE any assignments to a,b,c, hence parallel.
> >
> >
> > If these are the semantics we want, they're easier to implement than the
> > left-to-right semantics I was assuming.
> >
> > But the code apparently doesn't do what it says it does....
>
> Well, I think this is going to be easiest to explain to users if the
> assignment is entirely in parallel as opposed to partly so ...
> Let's write the code to make that happen and then fix up the comments.
I agree, parallel assignment makes the most sense both from the
standpoint of implementation, and from the standpoint of
understandability to the user.
--
Daniel Lakeland
dlakelan at street-artists.org
http://www.street-artists.org/~dlakelan