list comprehension
Transcription
-
- US Pronunciation
- US IPA
-
-
- US Pronunciation
- US IPA
-
Definition of list comprehension words
- noun Technical meaning of list comprehension (functional programming) An expression in a functional language denoting the results of some operation on (selected) elements of one or more lists. An example in Haskell: This returns all pairs of numbers (x,y) where x and y are elements of the list 1, 2, ..., 10, y <= x and their sum is less than 10. A list comprehension is simply "syntactic sugar" for a combination of applications of the functions, concat, map and filter. For instance the above example could be written: The term "list comprehension" appears in the references below. The earliest reference to the notation is in Rod Burstall and John Darlington's description of their language, NPL. David Turner subsequently adopted this notation in his languages SASL, KRC and Miranda, where he has called them "ZF expressions", set abstractions and list abstractions (in his 1985 FPCA paper [Miranda: A Non-Strict Functional Language with Polymorphic Types]). 1
Information block about the term
Parts of speech for List comprehension
noun
adjective
verb
adverb
pronoun
preposition
conjunction
determiner
exclamation
See also
Matching words
- Words starting with l
- Words starting with li
- Words starting with lis
- Words starting with list
- Words starting with listc
- Words starting with listco
- Words starting with listcom
- Words starting with listcomp
- Words starting with listcompr
- Words starting with listcompre
- Words starting with listcompreh
- Words starting with listcomprehe
- Words starting with listcomprehen
- Words starting with listcomprehens
Was this page helpful?
Thank you for your feedback! Tell your friends about this page
Tell us why?