On Wed, Sep 30, 2009 at 11:45 AM, namekuseijin <namekusei...@gmail.com> wrote:
> I've not been following Haskell too much and am completely lost when
> reading code like that.  I understand (+1), : and ! but what the hell
> are . and $ for?

Function composition and lowest-precedence function application, respectively.

> And that weird monad symbol in the Haskell logo is not even used! >>=
> Not quite the worst example of such line noise much of Haskell
> idiomatic code uses nowadays, though.

That's the monadic bind operator.  As far as sugar, I think you've got
it backwards — the "do" syntax is sugar for >>= and friends.  :-)
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to