Postfix

Postfix[f[expr]]

prints with f[expr] given in default postfix form: expr//f.

Postfix[f[expr],h]

prints as exprh.

Details

  • Postfix[expr,h,precedence,grouping] can be used to specify how the output form should be parenthesized.
  • The special input form expr//f is directly interpreted as f[expr] and does not involve Postfix. »

Examples

open allclose all

Basic Examples  (2)

Display f[x] in postfix form:

Use a special character as a postfix operator:

Possible Issues  (1)

The output from Postfix contains invisible tagging that preserves its meaning:

Copying the output and using it in a input cell produces the same result:

Typing in a visually identical result from scratch will produce a different result:

Wolfram Research (1988), Postfix, Wolfram Language function, https://reference.wolfram.com/language/ref/Postfix.html.

Text

Wolfram Research (1988), Postfix, Wolfram Language function, https://reference.wolfram.com/language/ref/Postfix.html.

CMS

Wolfram Language. 1988. "Postfix." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/Postfix.html.

APA

Wolfram Language. (1988). Postfix. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Postfix.html

BibTeX

@misc{reference.wolfram_2024_postfix, author="Wolfram Research", title="{Postfix}", year="1988", howpublished="\url{https://reference.wolfram.com/language/ref/Postfix.html}", note=[Accessed: 03-December-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_postfix, organization={Wolfram Research}, title={Postfix}, year={1988}, url={https://reference.wolfram.com/language/ref/Postfix.html}, note=[Accessed: 03-December-2024 ]}