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: Substituting the bananas for kiwis
Exercise 2: Substituting two things for kiwis
Exercise 3: Building a nests for the banana kiwi list (multidown)
Exercise 4: Counting the common ingredients (occurN)
Exercise 5: Finding the common ingredients
Exercise 6: Is this just one? Does it break the law(s)?
Exercise 7: Are these equal? Does it break the law?
Exercise 8: Broken count function - can you fix it?
Exercise 9: Curry chicken - How to de-nest this list
Exercise 10: Have we broken a law? Did we obey the spirit of the law?
No comments:
Post a Comment