60 lines
2 KiB
HTML
60 lines
2 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3O//DTD W3 HTML 2.0//EN">
|
|
<!Originally converted to HTML using LaTeX2HTML 95 (Thu Jan 19 1995) by Nikos Drakos (nikos@cbl.leeds.ac.uk), CBLU, University of Leeds >
|
|
<HEAD>
|
|
<TITLE> Programming Techniques</TITLE>
|
|
</HEAD>
|
|
<BODY>
|
|
<meta name="description" value=" Programming Techniques">
|
|
<meta name="keywords" value="lp">
|
|
<meta name="resource-type" value="document">
|
|
<meta name="distribution" value="global">
|
|
<P>
|
|
<BR> <HR>
|
|
<A HREF="node42.html"><IMG ALIGN=BOTTOM ALT="next" SRC="next_motif.gif"></A>
|
|
<A HREF="lp.html"><IMG ALIGN=BOTTOM ALT="up" SRC="up_motif.gif"></A>
|
|
<A HREF="node40.html"><IMG ALIGN=BOTTOM ALT="previous" SRC="previous_motif.gif"></A> <BR>
|
|
<A HREF="lp.html"><B>Contents</B></A>
|
|
<B> Next:</B>
|
|
<A HREF="node42.html"> A Word about </A>
|
|
<B>Up:</B>
|
|
<A HREF="lp.html">Lisp Primer</A>
|
|
<B> Previous:</B>
|
|
<A HREF="node40.html"> Exercises</A>
|
|
<BR> <HR> <P>
|
|
<H1> Programming Techniques</H1>
|
|
<P>
|
|
As has been mentioned before, Lisp has its origins in lambda
|
|
calculus and recursive function theory. The basic definition of Lisp
|
|
is found in McCarthy et al [1965]. Almost all implementations of it
|
|
have modified this definition in various ways. The beauty of
|
|
programming in Lisp is still largely due to its original definition.
|
|
Good programming style in Common Lisp is no different from other
|
|
versions of Lisp. In this chapter we will examine several techniques
|
|
that have proved to be very useful in effectively programming in Lisp.
|
|
<P>
|
|
<BR> <HR>
|
|
<UL>
|
|
<LI>
|
|
<A HREF="node42.html"> A Word about Lisp</A>
|
|
<LI>
|
|
<A HREF="node43.html"> Recursion on Simple Lists</A>
|
|
<LI>
|
|
<A HREF="node44.html"> Recursion on Nested Lists and Expressions</A>
|
|
<LI>
|
|
<A HREF="node45.html"> Recursion on Numbers</A>
|
|
<LI>
|
|
<A HREF="node46.html"> Ensuring Proper Termination</A>
|
|
<LI>
|
|
<A HREF="node47.html"> Abstraction</A>
|
|
<LI>
|
|
<A HREF="node48.html"> Summary of Rules</A>
|
|
<LI>
|
|
<A HREF="node49.html"> Exercises</A>
|
|
</UL>
|
|
<BR> <HR>
|
|
<P>
|
|
<ADDRESS>
|
|
<I>© Colin Allen & Maneesh Dhagat <BR>
|
|
March 2007 </I>
|
|
</ADDRESS>
|
|
</BODY>
|