A Fourth Programming Assignment
A Bit of LISP
Write a set of functions that operate on lists as discussed in
In particular write functions to:
Return the number that is stored at the front of the list.
Return a pointer to the rest of the list after the first element.
Return a new list that consists of an element prepended to the
front of a list.
Call this function
It will take two arguments, the element to prepend and a list to prepend
You may now move on to the
return to the