Saturday, June 12, 2010

The Little LISPer - Chapter 8 - Friends and Relations

You can go to the parent page here.



These are links to worked examples of The Little Lisper (3rd Edn.) in Common Lisp. They are being released in sequence, so not all are available now.



The assumption is that you have a copy or have read Mattias Felleison's The Little LISPer. (http://www.amazon.com/dp/0023397632/).



The questions are also available here (http://www.ccs.neu.edu/home/matthias/BTLS/exercises.ps)


Exercise 1: Expression evaluators - Is this an identity relation?
Exercise 2: Expression evaluators - Is this reflexive?
Exercise 3: Expression evaluators - Is this symmetric?
Exercise 4: Expression evalutors - What is value of f at x?
Exercise 5: Expression evaluators - Compose function f and g?
Exercise 6: Expression evalutors - Can you evaluate this relation?
Exercise 7: Expression evals - Is your relation of pairs prepped?
Exercise 8: Expression evals - Can you compose these relations?
Exercise 9: Expression evaluators - Is your expression transitive?
Exercise 10: Expression evals - Is your expression partial order?

No comments:

Post a Comment