Breaking Open the Black Box(打开黑箱) Breaking Open the Black Box(打开黑箱) Before we look at the specifics of Lisp’s syntax and semantics, it’s worth taking a moment to look at how th...
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,...
Collections(集合) Collections(集合) Like most programming languages, Common Lisp provides standard data types that collect multiple values into a single object. Every language slic...
String Comparisons String Comparisons You can compare strings using a set of functions that follow the same naming convention as the character comparison functions except with ...
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...
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—...
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...
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...