Call to arms: lambda-case is stuck and needs your help

Mikhail Vorozhtsov mikhail.vorozhtsov at gmail.com
Fri Jul 6 09:24:19 CEST 2012


On 07/05/2012 09:42 PM, Mikhail Vorozhtsov wrote:
> Hi.
>
> After 21 months of occasional arguing the lambda-case proposal(s) is in
> danger of being buried under its own trac ticket comments. We need fresh
> blood to finally reach an agreement on the syntax. Read the wiki
> page[1], take a look at the ticket[2], vote and comment on the proposals!
>
> P.S. I'm CC-ing Cafe to attract more people, but please keep the
> discussion to the GHC Users list.
>
> [1] http://hackage.haskell.org/trac/ghc/wiki/LambdasVsPatternMatching
> [2] http://hackage.haskell.org/trac/ghc/ticket/4359

Preliminary votes:
* LambdaCase \case: 3 (Christopher, Felipe, Gábor)
* LambdaCase \of: 1 (Edward)
* MultiClauseLambdas \of: 1 (Daniel)
* MultiClauseLambdas with \ in each clause: 1 (Donn)
* MultiClauseLambdas with layout rules tweaking: 1 (Tyson)

Note that LambdaCase variants do /not/ require parentheses around 
patterns while MultiClauseLambdas variants do.

Did I forget/misunderstand someone?

It would be great to have GHC HQ input on the new proposals (layout 
rules tweaking (Tyson) and case comma sugar (Edward)).



More information about the Glasgow-haskell-users mailing list