Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
In this chapter, we discussed the basic Common Lisp commands for defining variables and functions. Along the way, you learned the following:
To define a global variable, use the defparameter command.
To define a global function, use the defun command.
Use the let and flet commands to define local variables and functions, respectively.
The function labels is like flet, but it lets functions call themselves. Functions that call themselves are called recursive functions.