1.3 Notational conventions and syntax

1.3.4 Examples and code

The examples in this guide represent what is displayed on the screen during interactions with Lisp. Examples are printed in a fixed-width font. The Common Lisp prompt is given by>. The expression that follows it displays what you have entered at the keyboard. In some examples, this expression is followed by the response of the Lisp system:

>(defun add-one (x) 
   (1+ x)) 
ADD-ONE 

Lisp code in this guide is in lowercase. In general, the Lisp reader converts symbols into uppercase, and the Lisp system displays its responses in uppercase. You can write programs in either uppercase or lowercase, or a combination of the two, whichever you prefer.


International Character Sets - 9 SEP 1996

Generated with Harlequin WebMaker