List comprehension

List comprehension

Jesse Russell Ronald Cohn

     

бумажная книга



ISBN: 978-5-5088-8796-4

High Quality Content by WIKIPEDIA articles! A list comprehension is a syntactic construct available in some programming languages for creating a list based on existing lists. It follows the form of the mathematical set-builder notation (set comprehension) as distinct from the use of map and filter functions.