;;; test file for CMSC 331 HW9, November 2003. finin@umbc.edu ;;; Once you have defined all of the functions in HW0.LSP and loaded them ;;; into Lisp, you should be able to load this file into Lisp without ;;; error. Use the session function ;;; (http://www.csee.umbc.edu/331/fall03/homework/hw9/session.lsp) ;;; to process this file and capture the output for submission. "problem 4" (f2c 0) (f2c -32) (f2c (+ 50 50)) (f2c 40.0) (f2c -40.0) (c2f 0) (c2f -100.0) (c2f (+ 50 50)) (c2f 40.0) (c2f -40.0) "problem 5" (harmonic 10) (harmonic 100) (harmonic 1) "problem 6" (interleave nil nil) (interleave '(a) '(1)) (interleave '(a b c) '(1 2 3)) (interleave '(a a a) '(a a a)) "problem 7" (permp '(a) '(a)) (permp nil nil) (permp '(a b c) '(a c b)) (permp '(a b a c ) '(a a c b)) (permp '(a b c d) '(a b c e)) "problem 8 " (sortedp nil) (sortedp '(100.0)) (sortedp '(1 2 3 4)) (sortedp '(1 2.0 3 4)) (sortedp '(1 2 3 3 4)) (sortedp '(-1 2 4 3))