prints as a shallow form of expr.


prints with all parts of expr below the specified depth given in skeleton form.


also gives parts whose lengths are above the specified limit in skeleton form.


uses skeleton form for any parts that match the pattern form.



open allclose all

Basic Examples  (2)

Shallow display of a list:

Shallow display of a nested list:

Properties & Relations  (3)

Shortened outputs contain Skeleton objects:

Short displays with long expressions shortened from within:

Shallow shortens from the end:

When an input evaluates to Shallow[expr], Shallow does not appear in the output:

Out is assigned the result Range[50], not Short[Range[50]]:

Possible Issues  (2)

The output of Shallow cannot be used as input if k appears in the result:

Copy the output and paste it into an input cell. The 90 will cause an error:

Even when an output omits Shallow from the top level, it is not stripped from subexpressions:

The output does not have Shallow in it:

However, the variable e does have Shallow in it, which may affect subsequent evaluations:

This Join is not evaluated due to the intervening Shallow:

Assign variables first and then apply Shallow to the result to maintain computability:

Wolfram Research (1991), Shallow, Wolfram Language function, (updated 1996).


Wolfram Research (1991), Shallow, Wolfram Language function, (updated 1996).


@misc{reference.wolfram_2020_shallow, author="Wolfram Research", title="{Shallow}", year="1996", howpublished="\url{}", note=[Accessed: 16-January-2021 ]}


@online{reference.wolfram_2020_shallow, organization={Wolfram Research}, title={Shallow}, year={1996}, url={}, note=[Accessed: 16-January-2021 ]}


Wolfram Language. 1991. "Shallow." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 1996.


Wolfram Language. (1991). Shallow. Wolfram Language & System Documentation Center. Retrieved from