Enhanced type guard syntax]
Klacke
klacke@REDACTED
Thu Sep 18 23:51:07 CEST 2003
On Thu, Sep 18, 2003 at 08:09:21AM -0700, Chris Pressey wrote:
> I think you CAN throw "when" completely away IF you take this new syntax
> proposal to its logical extreme.
>
> foo(X, Y) when X == 2*Y
>
> becomes
>
> foo(X == 2 * Y)
>
Bad, uncomprehensible.
I don't see the point in this new propasal at all.
/klacke
--
Claes Wikstrom -- Caps lock is nowhere and
Alteon WebSystems -- everything is under control
http://www.bluetail.com/~klacke
cellphone: +46 70 2097763
More information about the erlang-questions
mailing list