Bonus Marks Bonus Marks › Define a Lisp function that returns the first element from a list. › Define a Lisp function that returns the second element from a list. › Define a ...
Saving Your Work(保存工作成果) Saving Your Work(保存工作成果) You could argue that this is a complete “hello, world” program of sorts. However, it still has a problem. If you exit Lisp and...
Other Kinds of I/O Other Kinds of I/O In addition to file streams, Common Lisp supports other kinds of streams, which can also be used with the various reading, writing, and pr...
And More . . . And More . . . And there’s more—I haven’t mentioned the ~? directive, which can take snippets of control strings from the format arguments or the ~/ directive,...
Make It Work, Make It Right, Make It Fast Make It Work, Make It Right, Make It Fast As has been said many times, and variously attributed to Donald Knuth, C.A.R. Hoare, and Eds...
Packaging Reusable Libraries Packaging Reusable Libraries While working on the e-mail database, you might write several functions related to storing and retrieving text that do...
The Mighty LOOP The Mighty LOOP For the simple cases you have **DOLIST** and **DOTIMES** . And if they don’t suit your needs, you can fall back on the completely general **DO*...