FullForm
FullForm[expr]
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. »
Examples
open allclose allScope (8)
Basic Objects (2)
Special Input Forms (4)
Special Output Forms (2)
Some objects use a special output representation:
Some objects use an elided output representation:
The elided parts are visible in the underlying FullForm:
Options (2)
Applications (4)
The FullForm will show the precedence of operators:
Grouping with parentheses affects the precedence:
See the underlying interpretation for a TraditionalForm output:
Replace lists with a new wrapper newhead:
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:
When an input evaluates to FullForm[expr], FullForm does not appear in the output:
Out is assigned the value x2, not FullForm[x^2]:
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:
Text
Wolfram Research (1988), FullForm, Wolfram Language function, https://reference.wolfram.com/language/ref/FullForm.html (updated 2003).
CMS
Wolfram Language. 1988. "FullForm." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2003. https://reference.wolfram.com/language/ref/FullForm.html.
APA
Wolfram Language. (1988). FullForm. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/FullForm.html