Map (higher-order function)

Map (higher-order function)

In many programming languages, map is the name of a higher-order function that applies a given function to each element of a collection, e.g. a list or set, returning the results in a collection of the same type. It is often called apply-to-all when considered in functional form. The concept of a map is not limited to lists: it works for sequential containers, tree-like containers, or even abstract containers such as futures and promises.

Comment
enIn many programming languages, map is the name of a higher-order function that applies a given function to each element of a collection, e.g. a list or set, returning the results in a collection of the same type. It is often called apply-to-all when considered in functional form. The concept of a map is not limited to lists: it works for sequential containers, tree-like containers, or even abstract containers such as futures and promises.
Depiction
Mapping-steps-loillibe-new.gif
Has abstract
enIn many programming languages, map is the name of a higher-order function that applies a given function to each element of a collection, e.g. a list or set, returning the results in a collection of the same type. It is often called apply-to-all when considered in functional form. The concept of a map is not limited to lists: it works for sequential containers, tree-like containers, or even abstract containers such as futures and promises.
Hypernym
Function
Is primary topic of
Map (higher-order function)
Label
enMap (higher-order function)
Link from a Wikipage to an external page
msdn.microsoft.com/en-us/library/bb384087.aspx
developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/map
Link from a Wikipage to another Wikipage
APL (programming language)
Arity
C++
C++ Standard Library
CAR and CDR
Category:Articles with example Haskell code
Category:Higher-order functions
Category:Iteration in programming
Category:Programming language comparisons
CFML
Clojure
ColdFusion Markup Language
Collection (abstract data type)
Collection (computer science)
Common Lisp
Container (abstract data type)
C Sharp (programming language)
Currying
D (programming language)
Design by contract
ECMAScript
Elixir (programming language)
Erlang (programming language)
File:Mapping-steps-loillibe-new.gif
Filter (higher-order function)
First-class function
Fold (higher-order function)
Foreach
Free monoid
F sharp (programming language)
Functional form
Functional programming
Function composition (computer science)
Functor (category theory)
Functor (functional programming)
Futures and promises
GP
Groovy (programming language)
Guile (programming language)
Haskell (programming language)
Haxe
Higher-order function
Iterator
J (programming language)
Java (programming language)
JavaScript
Julia (programming language)
Lisp (programming language)
List (computing)
List comprehension
Logtalk
Loop fusion
Map (parallel pattern)
Mathematica
Maxima (software)
Multi-paradigm
Natural transformation
Object-oriented programming
OCaml
Optimization (computer science)
Parametric polymorphism
Partial application
Perl
PHP
Polymorphic function
Polytypic function
Procedural parameter
Procedural programming
Programming language
Prolog
Python (programming language)
R (programming language)
Racket (programming language)
Ruby (programming language)
Rust (programming language)
S (programming language)
Scala (programming language)
Scheme (programming language)
Set (abstract data type)
S-expression
Smalltalk
Standard ML
Swift (programming language)
Tail recursion
Type class
Type constructor
Variadic function
XPath 3
XQuery
Zipping (computer science)
SameAs
8KDh
m.0fm9h6
Map (funzione)
Map (higher-order function)
Map (hogere-ordefunctie)
Map (программирование)
Map (функція вищого порядку)
Map (高阶函数)
Map (고차 함수)
Q1053064
SeeAlso
Functor
Subject
Category:Articles with example Haskell code
Category:Higher-order functions
Category:Iteration in programming
Category:Programming language comparisons
Thumbnail
Mapping-steps-loillibe-new.gif?width=300
WasDerivedFrom
Map (higher-order function)?oldid=1068935723&ns=0
WikiPageLength
21142
Wikipage page ID
6045801
Wikipage revision ID
1068935723
WikiPageUsesTemplate
a
Template:For
Template:Math
Template:One source
Template:Reflist
Template:See also
Template:Short description