A syntax option (function types versus arrays)
schulz at the-loom.de
Tue Mar 2 00:31:15 PST 2010
> (String -> int throws SomeException) variable = (String x -> 3);
Regarding function types, this is just what I proposed some mails ago ;)
Regarding lambdas, I disagree. There is no need to make both look alike,
in fact, I prefer lambdas to resemble (anonymous) methods.
> (String throws SomeException -> int) variable = (String x -> 3);
unfortunately places the arrow in between the definitions of the
possible outcome of an invocation.
More information about the lambda-dev