next up previous contents index
suivant: Sort : sort monter: Lists and vectors précédent: Append an element at   Table des matières   Index


Prepend an element at the begining of a list : prepend

prepend takes as argument a list and an element.
prepend puts this element at the begining of this list.
Input :
prepend([3,4,2],1)
Output :
[1,3,4,2]
Input :
prepend([1,2],[3,4])
Output :
[[3,4],1,2]



giac documentation written by Renée De Graeve and Bernard Parisse