MOO-cows Mailing List Archive

[Prev][Next][Index][Thread]

RE: ALPHA-TEST release of LambdaMOO version 1.8.0alpha6



>   Added `scattering assignment' expression, ...
>   A scattering assignment expression looks like this:
>	{ TARGETS } = EXPR
>   where TARGETS is a comma-separated list of places to store elements of 
the
>   list that results from evaluating EXPR.  ...
>   ...
>   Finally MOO has a convenient mechanism for naming verb arguments, etc...

yes!!!  

Is there a reason (i.e., aside from time pressures) 
that you're not allowing

     { TARGETS }

to itself be a target, i.e., in which the corresponding list element from 
the 
right hand side is itself expanded and assigned in a similar fashion, 
thus allowing arbitrary list structures on the left, e.g.,

   {a, {b, c}, d} = {1, {2, 3}, 4}

to assign b=2 and c=3  ?







Follow-Ups:

Home | Subject Index | Thread Index