[Haskell-cafe] Lambda-case / lambda-if

Gábor Lehel illissius at gmail.com
Tue Oct 5 11:32:33 EDT 2010


I also vote +1 for lambda-case, and abstain for lambda-if.

I don't think multiple-clause lambdas being desirable should be an
argument against lambda-case. After all, we can also define top-level
functions with either multiple clauses or a single case expression.
Haskell has always followed the TMTOWTDI school of thought with
regards to syntax, as far as I know. And lambda-case has the notable
advantage that someone has gone and implemented it.


More information about the Haskell-Cafe mailing list