haskell-cafe@haskell.org
[Top] [All Lists]

[Haskell-cafe] Syntactic Sugar (Was: Monads aren't evil)

Subject: [Haskell-cafe] Syntactic Sugar Was: Monads aren't evil
From: Henning Thielemann
Date: Sun, 11 Jan 2009 03:19:03 +0100
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...

http://www.haskell.org/haskellwiki/Syntactic_sugar/Cons

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@xxxxxxxxxxx
http://www.haskell.org/mailman/listinfo/haskell-cafe

<Prev in Thread] Current Thread [Next in Thread>