Abstraction and Repetition

3/29/03


Click here to start


Table of Contents

Abstraction and Repetition

Code Abstraction

Defining Functions with DEFUN

Functions with no arguments

Symbol binding, function property

COND (an alternative to IF)

Recursive Functions

Primitive List-Manipulating Functions

CAR, CDR, and their combinations

Recursive Functions of Lists

One-Way Recursion Doesn’t Do Sublists

Two-Way Recursive Functions

Looping: DOTIMES

Looping: DOLIST

Pure Functions

Functional Programming

Author: Steven L. Tanimoto

Email: tanimoto@cs.washington.edu

Home Page: http://www.cs.washington.edu/people/faculty/tanimoto.html

Download presentation source