By Stuart C. Shapiro
This can be a first-class LISP booklet; might be the simplest. The e-book is brief (~240 pages), relaxing to learn and includes an intensive reference of the language behind the ebook. i'd certainly suggest interpreting this ebook ahead of advancing onto Paul Graham's "On Lisp".
Read or Download Common Lisp: An Interactive Approach (Principles of Computer Science Series) PDF
Similar software books
Die aktuellen Entwicklungen in Wirtschaft und Gesellschaft (Globalisierung, E-Business, internet 2. zero) haben zwingend auch den Bedarf nach innovativen Lernkonzepten zur Folge. Dabei wird Wissensvermittlung und Qualifikation mit E-Learning zunehmend in die Eigenverantwortung der Lernenden verlagert. Der Bedarf nach Kompetenzentwicklung im Netz wächst.
This can be an instance product description.
This ebook constitutes the refereed lawsuits of the sixteenth overseas convention on Formal Engineering tools, ICFEM 2014, held in Luxembourg, Luxembourg, in November 2014. The 28 revised complete papers awarded have been rigorously reviewed and chosen from seventy three submissions. The papers disguise a variety of subject matters within the zone of formal equipment and software program engineering and are dedicated to advancing the cutting-edge of employing formal tools in perform.
- Software Design — Cognitive Aspects
- Software Process and Product Measurement: International Conferences IWSM 2008, Metrikon 2008, and Mensura 2008 Munich, Germany, November 18-19, 2008. Proceedings
- Software Engineering Approaches for Offshore and Outsourced Development: Second International Conference, SEAFOOD 2008, Zurich, Switzerland, July 2-3, 2008. Revised Papers
- Puppet Essentials
- Software Vendor's Business Model Dynamics Case: Tradesys
- New Modeling Concepts for Today’s Software Processes: International Conference on Software Process, ICSP 2010, Paderborn, Germany, July 8-9, 2010. Proceedings
Additional info for Common Lisp: An Interactive Approach (Principles of Computer Science Series)
The quote mark is the single quote mark on your keyboard that you might use for an apostrophe. In this text, it will look like this: ’. Notice that there is another single quote mark on your keyboard that points in the other direction. It is called a backquote and will look in this text like this: ‘. 3 4)) Actually, the Lisp listener is still going through its normal read-eval-print cycle, but when it reads a quoted S-expression, it constructs a quoted object, and the value of a quoted object is the object itself, so then it prints the list you typed in, using a printed representation it chooses.
We can see this by using eql: > (eql ’f\rank ’f|rank|) NIL > (eql ’f|rank| ’|frank|) NIL > (eql ’f\rank ’|frank|) NIL In general, Lisp’s printed representation of an object is a character sequence that you could use to type the object to Lisp. That way it is easier to have Lisp read a ﬁle that it has written. That is why, in all three examples above, Lisp used the escape brackets. To convince yourself that the escape brackets are not part of the name itself, you could do > (symbol-name ’|frank|) "frank" > (string= (symbol-name ’f|rank|) "Frank") T > (eql ’f\rank ’|FrANK|) T 6: Symbols 31 We have now seen Common Lisp objects that are integers, ﬂoating-point numbers, ratios, strings, characters, lists, and symbols.
There must be no space within the ratio. Common Lisp always prints a ratio in simplest terms, but you needn’t. 5 > (/ 12 8) 3/2 > 12/8 3/2 Expressions may be nested within expressions in the usual way. In mathematical notation, we might write f (x, g(y)); whereas in Cambridge Preﬁx notation, we’d write (f x (g y)). So the Lisp version of 5 × (3 + 4) is (* 5 (+ 3 4)), and the Lisp version of 5 × 3 + 4 is (+ (* 5 3) 4). 0 (sqrt (- (expt 7 2) (* 4 2 5)))) (* 2 2)) Notice that (sqrt number) returns the square root of the number and that (expt number1 number2 ) is number1 raised to the power of number2 .
Common Lisp: An Interactive Approach (Principles of Computer Science Series) by Stuart C. Shapiro