[Haskell-beginners] How to construct complex string
stephen.tetley at gmail.com
Fri Aug 9 20:27:44 CEST 2013
I think case ... of here is equivalent to let ... in the only difference is
that it can avoid growing rightwards. The declaration and body of let would
have to be indented to the same level as the `let` keyword. With case ...
of the consequent expression doesn't have to be indented to the level of
`case` provided it is on a new line.
I don't think I've ever noticed this "typographical trick" of a single case
_case_ in other code.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Beginners