abc
denotes the identifier whose name is
abc
. In general, the initial character of the name of a
identifier is a letter and constituent characters can be either letters
('a'...'z', 'A'...'Z') or digits ('0'...'9'). Many other characters can also be
used as constituents, such as '_' (underscore) and '-' (hyphen). It is
common to find hyphenated names in Lisp, such as
ticks-per-second
.
nil
is the identifier whose name is
nil
. Its value is the empty list ()
. It
is also used to denote the boolean value false in many Lisps.
t
is the identifier whose name is t
. It
is used to denote the boolean value true in many Lisps.
However, any value other than () is considered
true in many Lisps.
Here are some examples:
apply
function takes a variable number of arguments,
the first one of which must be a function, and the last one must be a list. Its
action is to apply the function to these arguments, the important bit being
that the elements of the final argument to apply
constitute
individual arguments, not a list. That sounds a little confusing, so here are
some examples:
+
. The point of the second and
third input lines is to contrast the use of apply with straight function
application.