Prefix

Prefix[f[expr]]

prints with f[expr] given in default prefix form: f@expr.

Prefix[f[expr],h]

prints as hexpr.

Details

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

Examples

open allclose all

Basic Examples  (2)

Display f[x] in prefix form:

Use a special character as a prefix operator:

Possible Issues  (1)

The output from Prefix 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), Prefix, Wolfram Language function, https://reference.wolfram.com/language/ref/Prefix.html.

Text

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

CMS

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

APA

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

BibTeX

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

BibLaTeX

@online{reference.wolfram_2023_prefix, organization={Wolfram Research}, title={Prefix}, year={1988}, url={https://reference.wolfram.com/language/ref/Prefix.html}, note=[Accessed: 19-March-2024 ]}