This commit is contained in:
Danny Yoo 2011-10-18 15:10:33 -04:00
parent 706dcd8b75
commit e72671fa77
3 changed files with 35 additions and 10 deletions

View File

@ -0,0 +1,34 @@
1
2
3
4
5
Done!
a
Done!
a
b
Done!
a
b
c
Done!
a
b
c
Done!
a
b
c
d
Done!
a
b
c
d
Done!
a
b
c
d
Done!

View File

@ -26,16 +26,6 @@
(displayln "Done!"))
(generator value on-success on-fail))
(define (step-structure generator value)
(define (on-success elt restart)
(displayln elt)
(void (read-line))
(restart))
(define (on-fail)
(displayln "Done!"))
(generator value on-success on-fail))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(print-structure list-fringe '(1 2 3 4 5))

View File

@ -24,6 +24,7 @@
(test "more-tests/colors.rkt")
(test "more-tests/images.rkt")
(test "more-tests/lists.rkt")
(test "more-tests/fringe.rkt")
(test "more-tests/simple-apply.rkt")
(test "more-tests/isolating-bug.rkt")
(test "more-tests/hello-bf.rkt")