Complete each of the following
problems in the Chapter 14 Problem Set (pp.
602-603 of the text):
Due: 2/07/01 at the start of class
- Problem 3
- Problem 5
- Write your own implementation of the Scheme built-in function
(list-head list k)
Returns a newly allocated list consisting of the first k
elements of list. K must not be greater than the
length of list.
Name your function
list-head is already provided as a standard
operation in Scheme (you may not use
sublist in your solution).