Maps to

↦
Maps to

The maps to symbol, ↦, is a rightward arrow protruding from a vertical bar. It is used in mathematics and in computer science to denote functions.


In the Unicode character set, the symbol is code point U+21A6.


Other uses

The "Maps to" operator is useful when it is desirable to avoid assigning names to functions.

This can avoid possible misinterpretations due to poor naming conventions, such as avoiding the following name conflict from these two functions existing in the same file or in the same mathematical proof:


See also

References

  1. ↑ Specifically Functional Programming
  2. ↑ Mikušiak, Luboš; Miroslav Adámy; Thomas Seidmann (1997). "Publishing formal specifications in Z notation on world wide web". TAPSOFT '97: Theory and Practice of Software Development. Lecture Notes in Computer Science. Vol. 1214. pp. 871–874. doi:10.1007/BFb0030650. ISBN 978-3-540-62781-4.
  3. ↑ Unicode Character 'RIGHTWARDS ARROW FROM BAR' (U+21A6)
  4. ↑ See Lambda Functions in Python (programming language)