What You've Learned

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.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.144.31.163