What to hand in : Once all the following is working, run : : ~timm/bin/handin : : Then print and STAPLE hand in the file ~/tmp/2print.pdf. Q1 Do : Create your own local version of the repository Hint : Find out your group number (XX) : cd; mkdir x72; svn co https://websvn.lcsee.wvu.edu/csx72gpXX : cd csx72gpXX Q2 Setup : Make sure Q1 is completed. Do : Checkout this week's support code into ~/x72/csx72gpXX/1/a Hint : cd ; mkdir -p x72/csx72gpXX/1 ; svn add x72/csx72gpXX/1; : cd x72/csx72gpXX/1 : svn export http://unbox.org/wisp/var/timm/10/ai/etc/proj/1/a : svn add a : svn commit -m "homework 1 a ready to go" If it works... : you should see output like this: : : A 1/a : A 1/a/f1.lisp : A 1/a/f2.lisp : A 1/a/f3.lisp : A 1/a/lisp : A 1/a/main.lisp : A 1/a/rcount.lisp : A 1/a/run : A 1/a/todo.otl : Transmitting file data ....... : Committed revision 1. : Q3 Setup : Make sure Q2 is completed. Do the following in the directory "1/a" Write : A new version of rcount, but this time return a second argument to carry : a number. Return the list, with each item multiplied by that number. Example : (rmult '(1 2 3 4) 10) ==> (10 20 30 40) Usage : Modify main.lisp so it loads your rmult code. : : (format t "~%==== 1/a/3 ===================================~%~%" : : (print (rmult '(1 2 3 4) 10)) Test : bash run : : If you get errors like svn: "Server sent unexpected return value", : find your modified files (using "svn status") and commit them, one : by one (using "svn commit -m "file1" file1) Q4 Setup : Get Q3 running Write : Write a file called graham2.lisp. Add to that file code to demo : all the "defuns" in Graham's text 2.6 and 2.7 Test : Add lines to main.lisp like this : : (format t "~%our-third demo. Call: (our-third '(a b c d))~%") : (print (our-third '(a b c d)))