Go backward to Nil(): Empty List
Go up to Constructors
Go forward to Cons(): List Construction

nil(): Empty List (Binding Form)

l.nil()
      List<T> l

Specification: Binds l to the empty list.

Complexity: O(1).

Note: This operation is more efficient than the otherwise equivalent form 

l = List<T>::Nil()

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

Prev Up Next