Slide 8.a: Lisp Slide 8.c: Basic functions (cont.) Home |
NIL
means “false.”
NIL
is also the name for the empty list, and may be written as ( )
.
T
means “true,” but actually anything that is not NIL
is “true.”
CAR
of this new list is the given S-expression, while the CDR
is the original list.
NIL
if they are different.
NIL
otherwise.
NIL
), and NIL
otherwise.