Personal tools

How to read Haskell

From HaskellWiki

(Difference between revisions)
Jump to: navigation, search
 
Line 8: Line 8:
   
 
Since this tutorial is not yet written, we encourage you to note here the things which confuse non-Haskellers about the code code.
 
Since this tutorial is not yet written, we encourage you to note here the things which confuse non-Haskellers about the code code.
  +
  +
* layout instead of semicolons?
  +
* super-super-concise stuff (things using liftM and liftM2)
  +
* the difference between <haskell>x <- foo</haskell> and <haskell>x = foo</haskell>

Revision as of 10:44, 3 August 2006

This stub is intended to become a tutorial on reading Haskell. It's aimed at the non-Haskeller who probably doesn't care too much about trying to write code, but wants to understand it.

1 The tutorial

...needs to be written

2 What confuses non-Haskellers

Since this tutorial is not yet written, we encourage you to note here the things which confuse non-Haskellers about the code code.

  • layout instead of semicolons?
  • super-super-concise stuff (things using liftM and liftM2)
  • the difference between
    x <- foo
    and
    x = foo