List comprehension

From HaskellWiki
Revision as of 11:46, 8 November 2006 by Lemming (talk | contribs) (small explanation because some articles link on it)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

List comprehensions are syntactic sugar like the following expression:

[toUpper c | c <- s]