This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)
 Documentation / Mathematica / Built-in Functions / Programming / Functional Programming  /

  • # represents the first argument supplied to a pure function.
  • # n represents the n argument.
  • # is used to represent arguments or formal parameters in pure functions of the form body & or Function[ body ].
  • is equivalent to Slot[ ] or Slot[1].
  • # n is equivalent to Slot[ n ]. n must be a non-negative integer.
  • #0 gives the head of the function, i.e., the pure function itself.
  • See the Mathematica book: Section 2.2.5.

    Further Examples

    The element in the first slot is raised to the power of the element in the second slot.



    See the Further Examples for Function.