Go backward to head(): Update Head Element
Go up to Destructive Updating

tail(): Update Tail List

l.tail(t)
      List<T> l
      List<T> t

Specification: Destructively updates the tail list of l by t.

Constraints: It is illegal to apply tail to an empty l.

Complexity: O(1).


Wolfgang.Schreiner@risc.uni-linz.ac.at
Id: main.tex,v 1.10 1996/04/04 11:45:47 schreine Exp

Prev Up