Syntax decision

Florian Weimer fweimer at bfk.de
Fri Sep 30 00:48:04 PDT 2011


* Stephen Colebourne:

> You could use an "extended arrow" for nilary:
>   --> expr
>   --> {stmt;}
>
> where the extra dash effectively means "nothing"

The arrow goes into the wrong direction, though.  The value comes from
expr, it is not applied to it.  The "() -> expr" syntax doesn't have
this problem.

-- 
Florian Weimer                <fweimer at bfk.de>
BFK edv-consulting GmbH       http://www.bfk.de/
Kriegsstraße 100              tel: +49-721-96201-1
D-76133 Karlsruhe             fax: +49-721-96201-99


More information about the lambda-dev mailing list