prints as the full form of expr, with no special syntax.
Details and Options
- FullForm always effectively uses "PrintableASCII" as the setting for $CharacterEncoding.
- The option NumberMarks can be used to specify whether ` marks should be used to indicate type, precision, or accuracy of approximate numbers. »
- The typeset form of FullForm[expr] is interpreted the same as expr when used in input. »
- When an input evaluates to FullForm[expr], FullForm does not appear in the output. »
Examplesopen allclose all
Basic Objects (2)
Special Input Forms (4)
Special Output Forms (2)
The elided parts are visible in the underlying FullForm:
The FullForm will show the precedence of operators:
See the underlying interpretation for a TraditionalForm output:
Multiplications have the head Times:
Properties & Relations (4)
The typeset form of FullForm[expr] is interpreted the same as expr when used in input:
Copy the output and paste it into an input cell. The Power[x,2] is interpreted as x2:
FullForm has linear formatting without special syntax:
InputForm formats as linear input:
TreeForm graphically displays an expression's tree structure:
Possible Issues (2)
Even when an output omits FullForm from the top level, it is not stripped from subexpressions:
The output does not have FullForm in it:
However, the variable e does have FullForm in it, which may affect subsequent evaluations:
The product is not evaluated due to the intervening FullForm:
Assign variables first and then apply FullForm to the result to maintain computability:
Pattern matching is based on the FullForm:
The previous fraction is represented as a single Power expression:
Wolfram Research (1988), FullForm, Wolfram Language function, https://reference.wolfram.com/language/ref/FullForm.html (updated 2003).
Wolfram Language. 1988. "FullForm." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2003. https://reference.wolfram.com/language/ref/FullForm.html.
Wolfram Language. (1988). FullForm. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/FullForm.html