List comprehensions: Difference between revisions
Content added Content deleted
(Add implementation in Lua) |
(omit C) |
||
Line 1: | Line 1: | ||
{{task|Basic language learning}}{{Omit From|Java}}{{Omit From|Perl}}{{Omit From|Modula-3}} |
{{task|Basic language learning}}{{Omit From|C}}{{Omit From|Java}}{{Omit From|Perl}}{{Omit From|Modula-3}} |
||
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. |