Matt Might
unread,Apr 12, 2013, 6:01:05 PM4/12/13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Colton Myers, Petey A, Daniel Blakemore, utah-compilers-spring-2013
I put this in cps-header.rkt and tried it on one test case:
(define (assert1 thunk1)
(thunk1 (λ (condition)
(when (not condition)
(error "assertion failure!")))))
And, it worked. I believe it should work for all.
Also, I'm not going to test any cases that would invoke assert2.