Call to arms: lambda-case is stuck and needs your help
spam at scientician.net
Mon Jul 9 20:09:25 CEST 2012
On 07/09/2012 06:01 PM, Mikhail Vorozhtsov wrote:
> On 07/09/2012 09:52 PM, Twan van Laarhoven wrote:
>> On 09/07/12 14:44, Simon Marlow wrote:
>>> I now think '\' is too quiet to introduce a new layout context. The
>>> 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
>> There is an advantage here for "\of" in favor of "\case", namely that
>> "of" already introduces layout, while "case" does not.
> Do you think that adding "\" + "case" as a layout herald would
> complicate the language spec and/or confuse users? Because it certainly
> does not complicate the implementation (there is a patch for \case
Just being anal here, but: The existence of a patch to implement X does
not mean that X doesn't complicate the implemenatation.
... as you were.
More information about the Glasgow-haskell-users