pozorvlak recently
discovered a bit of a gotcha in writing haskell examples:
If I'm in emacs, and I write this:
tick = do n <- get; put (n+1); return n;
on three lines, it comes out like this:
tick = do n <- get
put (n+1)
return n
This is because emacs has a particularly smart indent mode - it notices the "do", and realises that I
(
Read more... )