Call to arms: lambda-case is stuck and needs your help
Twan van Laarhoven
twanvl at gmail.com
Mon Jul 9 16:52:13 CEST 2012
On 09/07/12 14:44, Simon Marlow wrote:
> I now think '\' is too quiet to introduce a new layout context. The pressing
> need is really for a combination of '\' and 'case', that is single-argument so
> that we don't have to write parentheses. I think '\case' does the job
> perfectly. If you want a multi-clause multi-argument function, then give it a
> name.
There is an advantage here for "\of" in favor of "\case", namely that "of"
already introduces layout, while "case" does not.
Twan
More information about the Glasgow-haskell-users
mailing list