[E-Lang] Hydro & E: Update Syntax

Ralph Hartley hartley@aic.nrl.navy.mil
Fri, 23 Mar 2001 08:09:26 -0500


Mark S. Miller wrote:

> Thanks Ralph, I'd been thinking that a summing up was called for.
> 
> At 12:52 PM Thursday 3/22/01, Ralph Hartley wrote:
> 
>> zooko@zooko.com wrote:
>> 
>>> MarkM wrote:
>>> 
>>>>    map := map with(key, newValue)
>>> 
>>> proposed syntactic shorthand:
>>> 
>>>>    map [key]= newValue
>>> 
>> Now that would be confusing. map[key] sure looks like an lvalue!
> 
> 
> Agreed.  I consider this proposal disqualified.

Now that I think back to the last cycle of this topic, that was the 
version I liked the most at the time.

I was, of course, totally wrong! "map [key]=" looks way to much like 
"map[key] :=" especially if you are used to = for := .

I guess the comments about syntax that looks like a good idea at the 
time are on target.

Ralph Hartley