Personal tools

List comprehension

From HaskellWiki

Revision as of 11:46, 8 November 2006 by Lemming (Talk | contribs)

(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]