List comprehensions: Difference between revisions
Content added Content deleted
(add Ruby) |
Underscore (talk | contribs) (Omit Perl.) |
||
Line 1: | Line 1: | ||
{{task|Basic language learning}}{{Omit From|Java}} |
{{task|Basic language learning}}{{Omit From|Java}}{{Omit From|Perl}} |
||
A [[wp:List_comprehension|list comprehension]] is a special syntax in some programming languages to describe lists. It is similar to the way mathematicians describe sets, with a ''set comprehension'', hence the name. |
A [[wp:List_comprehension|list comprehension]] is a special syntax in some programming languages to describe lists. It is similar to the way mathematicians describe sets, with a ''set comprehension'', hence the name. |