[Haskell-cafe] Syntactic Sugar (Was: Monads aren't evil)
schlepptop at henning-thielemann.de
Sat Jan 10 21:19:03 EST 2009
Peter Verswyvelen schrieb:
> Related to this issue, I have a question here.
> I might be wrong, but it seems to me that some Haskellers don't like
> writing monads (with do notation) or arrows (with proc sugar) because of
> the fact they have to abandon the typical applicative syntax, which is
> so close to the beautiful lambda calculus core. Or is it maybe because
> some people choose monads were the less linear applicative style could
> be used instead, so the choice of monads is not always appropriate.
> Haskell is full of little hardcoded syntax extensions: list notation
> syntactic, list comprehensions, and even operator precedence that
> reduces the need for parentheses, etc...
More information about the Haskell-Cafe