S-expressions(S-表达式) S-expressions(S-表达式) The basic elements of s-expressions are lists and atoms. Lists are delimited by parentheses and can contain any number of whitespace-s...
The Story of Mac: A Just-So Story(Mac 的故事:只是一个故事) The Story of Mac: A Just-So Story(Mac 的故事:只是一个故事) Once upon a time, long ago, there was a company of Lisp programmers. It was ...
DEFMACRO DEFMACRO As you saw in Chapter 3, macros really are defined with **DEFMACRO** forms, though it stands—of course—for DEFine MACRO, not Definition for Mac. The basic sk...
CDs and Records(CD 和记录) CDs and Records(CD 和记录) To keep track of CDs that need to be ripped to MP3s and which CDs should be ripped first, each record in the database will conta...
Good Object-Oriented Design Good Object-Oriented Design That’s about it for the main features of Common Lisp’s object system. If you have lots of experience with object-oriente...
Looping Looping Control constructs are the other main kind of looping constructs. Common Lisp’s looping facilities are—in addition to being quite powerful and flexible—an inter...
File Output File Output To write data to a file, you need an output stream, which you obtain by calling **OPEN** with a :direction keyword argument of :output . When opening ...