Go up to
Selectors
Go forward to
Head()
: Head Element
Null()
: Test for Empty List
empty
=
Null
(
l
)
int
empty
List<T>
l
Specification:
Returns 1 if
l
is the empty list and 0 else.
Complexity:
O(1)
.
Wolfgang.Schreiner@risc.uni-linz.ac.at
Id: main.tex,v 1.10 1996/04/04 11:45:47 schreine Exp