Map (higher-order function): Difference between revisions

Content deleted Content added
add hatenote
m *hatnote
Line 1:
{{for|the similarly-titled abstract data type composed of (key,value) pairs|Associative array}}
{{one source|date=November 2012}}
 
In many [[programming language]]s, '''map''' is the name of a [[higher-order function]] that applies a [[procedural parameter|given function]] to each element of a [[functor]], e.g. a [[list (computing)|list]], returning a list of results in the same order. It is often called ''apply-to-all'' when considered in [[functional form]].