MC logo

CS 231 Lecture Examples


CS 231 Lisp Home

Code examples from lecture.

Basic Expressions, Lists, and Functions.
o Basic Expression Evaluation
o Conditions
o Simple List Recursion Functions
o Shuffle a list
o Simple A-List Demo
o Simple Array Demo

Higher-Order Functions
o Functions as arguments
o Symbolic Calculus
o Expression Simplification

I/O
o Input/Output Demo

Looping
o Lisp loops