The Department of Computer Science & Engineering
cse@buffalo

CSE202: Programming in Lisp

Course
Grades
Email

Welcome

Policies
    Grades
    Inc
    Intgrty

Preface
Part I
  Chap 1
  Chap 2
  Chap 3
  XEmacs
  Chap 4
  Chap 5
  Chap 6
  Chap 7
  Chap 8
  Chap 9
Part II
  Chap 10
  Chap 11
  Chap 12
  Chap 13
  Chap 14
  Chap 15
  Chap 16
  Chap 17
  Chap 18
  Chap 19
  Chap 20
  Chap 21
  Chap 22
  Chap 23
Part III
  Chap 24
  Chap 25
  Chap 26
  Chap 27
  Chap 28
  Chap 29
  Chap 30
  Chap 31
  Chap 32
Part III: PROGRAMMING IN IMPERATIVE LISP

Parts I and II of this book (and course) have been devoted to "pure" Lisp, the part of Common Lisp that is an applicative, or functional, programming language. In Part III, we will cover some of the imperative parts of Common Lisp, including

  1. the assignment statement;
  2. sequences of imperative statements;
  3. iteration;
  4. input and output.
Just because we are now going to use imperative constructs, you should not ignore the style you have learned in Part II, and slip into programming in "C with parentheses". One of the things you should learn in this course is when to use a functional style and when to use an imperative style. Once you learn that, you can make use of a functional style where appropriate even when programming with imperative programming languages.

Next

Copyright © 1999, 2000 by Stuart C. Shapiro. All rights reserved.

Stuart C. Shapiro <shapiro@cse.buffalo.edu>