[Haskell-cafe] Call to arms: lambda-case is stuck and needs your help

Felipe Almeida Lessa felipe.lessa at gmail.com
Thu Jul 5 17:28:28 CEST 2012


On Thu, Jul 5, 2012 at 12:21 PM, Christopher Done <chrisdone at gmail.com> wrote:
> I like \case as is proposed. It seems the least controversial one and
> there's curry (\case ) for two-args, but even that seems a rare case.
>
> For what it's worth, I like the idea of omission being partiality, as
> in case of and if then. It seems perfectly natural to me, I don't need
> a \ to tell me that an expression will result in a function. But some
> do. So I'll go along with and vote for \case. The lack of a lambda
> case is one of the few "legitimate" complaints I have about Haskell's
> syntax so it would be marvey to see it in GHC.

+1 for \case, I completely agree with Christopher Done.

Cheers,

-- 
Felipe.



More information about the Glasgow-haskell-users mailing list