\"\" \"\" \"\"
Go backward to nil(): Empty List (Binding Form)
Go up to Constructors
Go forward to cons(): List Construction (Binding Form)
RISC-Linz logo

Cons(): List Construction

l = Cons(h, t)
      List<T> l
      T h
      List<T> t

Specification: Returns a list l with head element h and tail list t.

Complexity: O(1).


Author: Wolfgang Schreiner
Last Modification: April 12, 1997