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 Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

List comprehensions are syntactic sugar like the following expression:

[toUpper c | c <- s]