Added back test code now that it works

This commit is contained in:
Justin Ethier 2016-02-04 22:45:14 -05:00
parent 5bb51a851a
commit ddfd09b1c2

View file

@ -17,11 +17,11 @@
(list
(pare? (kons 1 2)) ; =. #t
(pare? (cons 1 2)) ; =. #f
; (kar (kons 1 2)) ; =. 1
; (kdr (kons 1 2)) ; =. 2
; (let ((k (kons 1 2)))
; (set-kar! k 3)
; (kar k)) ;=. 3
(kar (kons 1 2)) ; =. 1
(kdr (kons 1 2)) ; =. 2
(let ((k (kons 1 2)))
(set-kar! k 3)
(kar k)) ;=. 3
))
;(define <pare> (register-simple-type <pare> #f (quote (x y))))