next | previous | forward | backward | up | top | index | toc | home

prepend(Thing,BasicList) -- add an element to the beginning of a list

Synopsis

Description

The result will have the same class.
i1 : prepend(z,(a,b,c))

o1 = (z, a, b, c)

o1 : Sequence
i2 : prepend(z,{a,b,c})

o2 = {z, a, b, c}

o2 : List

See also