Table of Contents
Abstraction and Repetition
Code Abstraction
Defining Procedures with DEFINE
Procedures with no arguments
COND (an alternative to IF)
Recursive Procedures
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: DO
Looping: DO (2nd example)
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
|