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

Documentation / Mathematica / Built-in Functions / Lists and Matrices / List Operations /


FilledSmallSquare Prepend[expr, elem] gives expr with elem prepended.

FilledSmallSquare Examples: Prepend[a,b, x] LongRightArrow; Prepend[f[a], x+y] LongRightArrow.

FilledSmallSquare Prepend works on SparseArray objects, returning ordinary lists if necessary.

FilledSmallSquare See Section 1.8.6 and Section 2.4.2.

FilledSmallSquare See also: Append, Insert, PadRight.

FilledSmallSquare New in Version 1.