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]

Your annotation:

Enter a new annotation:

Your nick:
The title of your paste:
Your paste (mandatory) :
What's the R5RS procedure to access the first element of a pair?
Visually impaired? Let me spell it for you (wav file) download WAV