Wolfram Language & System 10.0 (2014)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)

Function Composition & Operator Forms

The symbolic structure of the Wolfram Language makes it easy to create "operators" that can be composed and manipulated symbolicallyforming "pipelines" of operationsand then applied to arguments. Some built-in functions also directly support a "curried" form, in which they can immediately be given as symbolic operators.


f@x function application

Composition or left-to-right composition

x//f function application

RightComposition or right-to-left composition

Function turn any expression into a pure function that can be applied

Identity identity function

InverseFunction symbolic inverse function

Inactive a function made inactive

Functions with Operator Forms

Select represent a selection operator to apply to expressions

Map  ▪  Apply

Append  ▪  Prepend  ▪  Insert  ▪  ReplacePart

SelectFirst  ▪  FirstCase  ▪  Cases  ▪  DeleteCases

Position  ▪  Extract  ▪  Delete

AnyTrue  ▪  AllTrue  ▪  NoneTrue

SortBy  ▪  MaximalBy  ▪  MinimalBy  ▪  DeleteDuplicatesBy

Rearranging Functional Forms

Operate form from p and

Through form from

Distribute distribute one symbolic function over another

Key operator to extract a value from an association