Project One was tough!
Inorder to do this project. I went back to all of the lectures and re-read everything. After reading everything, then I started to have a better understand.
However, I still have a question. For the check-key part,
(check-expect (check-key (make-clocktime 1 2 3 GO) "up") (make-clocktime 1 2 3 GO))(check-expect (check-key (make-clocktime 1 2 3 GO) "down") (make-clocktime 1 2 3 STOP))
(define (check-key im k) (cond [(equal? k "down") STOP] [else im]))
I did not understand this part.
However, by doing this project, I am now more prepared for the second term test.
No comments:
Post a Comment