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

_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to