represents a form of f that takes arguments in reverse order so that ReverseApplied[f][x1,…,xn] is equivalent to f[xn,…,x1].
ReverseApplied[f,n]
represents a form of f that reverses the first n arguments before evaluation.
ReverseApplied
represents a form of f that takes arguments in reverse order so that ReverseApplied[f][x1,…,xn] is equivalent to f[xn,…,x1].
ReverseApplied[f,n]
represents a form of f that reverses the first n arguments before evaluation.
Details
- ReverseApplied[f][] returns f[].
Examples
open all close allBasic Examples (2)
Scope (2)
Applications (1)
Properties & Relations (5)
ReverseApplied can be built as a combination of Reverse and Apply:
reverseApplied[f_][args___] := Apply[f, Reverse[{args}]]reverseApplied[f][a, b, c]ReverseApplied[f][a, b, c]ReverseApplied[f][] returns f[]:
ReverseApplied[f][]ReverseSort is equivalent to Sort with ordering function ReverseApplied[Order]:
chars = Characters["computation"]ReverseSort[chars]Sort[chars, ReverseApplied[Order]]RightComposition is equivalent to ReverseApplied[Composition]:
Composition[f, g, h][x]RightComposition[f, g, h][x]ReverseApplied[Composition][f, g, h][x]OperatorApplied[f] is equivalent to a combination of CurryApplied[2] and ReverseApplied[f]:
OperatorApplied[f][x][y]CurryApplied[2][ReverseApplied[f]][x][y]See Also
Related Guides
History
Text
Wolfram Research (2020), ReverseApplied, Wolfram Language function, https://reference.wolfram.com/language/ref/ReverseApplied.html.
CMS
Wolfram Language. 2020. "ReverseApplied." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ReverseApplied.html.
APA
Wolfram Language. (2020). ReverseApplied. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ReverseApplied.html
BibTeX
@misc{reference.wolfram_2026_reverseapplied, author="Wolfram Research", title="{ReverseApplied}", year="2020", howpublished="\url{https://reference.wolfram.com/language/ref/ReverseApplied.html}", note=[Accessed: 12-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_reverseapplied, organization={Wolfram Research}, title={ReverseApplied}, year={2020}, url={https://reference.wolfram.com/language/ref/ReverseApplied.html}, note=[Accessed: 12-June-2026]}