This is documentation for Mathematica 4, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)



FilledSmallSquareFlatten[list] flattens out nested lists.

FilledSmallSquareFlatten[list, n] flattens to level n.

FilledSmallSquareFlatten[list, n, h] flattens subexpressions with head h.

FilledSmallSquare Example: Flatten[a,b,c,d] LongRightArrow.

FilledSmallSquareFlatten "unravels" lists, effectively just deleting inner braces.

FilledSmallSquareFlatten[list, n] effectively flattens the top level in list n times.

FilledSmallSquareFlatten[f[e, ... ]] flattens out subexpressions with head f.

FilledSmallSquare See The Mathematica Book: Section 1.8.14 and Section 2.2.10.

FilledSmallSquare See also: Partition, FlattenAt.

Further Examples