Here are the handin instructions for the lisp warmup assignment:

1. Make a file with your lisp functions in it.  (In Allegro Common Lisp,
   use the New, Save and Load options in the File menu.)

2. Load your file into the Allegro Lisp interpreter.  Run the following
   function calls:

   (greaterlist '(3 7 4 10 2 19) 5)

   (greaterlist '(0 1 2 3) 5)

   (greaterlist NIL 5)

   (greaterlist '(8 0 5 67 -9) 5)

   (condlist '(1 3 5 8 0 -18) #'> 2)

   (condlist '(1 3 5 8 0 -18) #'< 2)

   (condlist NIL #'= 3)

   (condlist '((a b) 37 'fun (a b) -18 (a c) 'hi) #'notequal '(a b))

   (interleave '(a b c d e) '(1 2 3 4 5))

   (interleave NIL '(a 45 (a b) 4))

   (interleave '(1 3 5 7 9) '(2 4 6 8 10))

   If your interleave handles lists of different lengths, add two cases
   that demonstrate this.

   Note that in the cases where NIL is sent to a function that is expecting
   a list, the function should return NIL, unless your function does something
   smarter.  The point is that it should not generate a runtime error.

3. Choose the "Print" option from the file menu.  This will print out the
   session with the interpreter.

4. Print out your lisp code.

6. Give the code and the session transcript (labeled with your name,
   email, and section) to me by 4pm Tuesday, 2/24.





Last modified: Mon Feb 23 09:36:52 PST 1998