prepend

prepend(x,v) -- yields the list obtained by prepending x to the list v. Similarly if v is a sequence.

     i1 = prepend( x, {a,b,c} )
     
     o1 = {x,a,b,c}
     
     o1 : List
     

See also append and join.

Go to main index.

Go to concepts index.