[e-lang] Shortcuts for asynchronous control flow

David Hopwood david.nospam.hopwood at blueyonder.co.uk
Wed Jul 5 21:59:51 EDT 2006


David Hopwood wrote:
> Constantine Plotnikov wrote:
> 
>>Using :: = "using" "("  ("def" <name> ":=")? <expression> ")" "{"
>>  <statement>*
>>"}"
> 
> Minor nit: a "def" construct in E is already an expression, but it returns
> a resolver, not the assigned value (see "def x doesn't return x" in
> <http://homepage.mac.com/kpreid/elang/surprise.html>).

I'm wrong here -- "def x" on its own returns a resolver, but "def x := y"
returns y.

-- 
David Hopwood <david.nospam.hopwood at blueyonder.co.uk>




More information about the e-lang mailing list