Previous Up Next

5.38.6  Remove the first element : tail

tail takes as argument a list. tail returns the list without its first element.
Input :

tail([0,1,2,3])

Output :

[1,2,3]

l:=tail([0,1,2,3]) does the same thing as l:=suppress([0,1,2,3],0)


Previous Up Next