Welcome to the CHICKEN Scheme pasting service
test print macro added by misilver on Sat Jun 18 23:00:10 2016
(define (call-test-print name expected thunk) (test name expected (with-output-to-string thunk))) (define-syntax (test-print name expected sexp) `(call-test-print ,name ,expected (lambda () ,sexp))) (test-print "fake example" "hi\n" (print "hi")) [hangs forever]