Welcome to the CHICKEN Scheme pasting service

SILLY added by mario-goulart on Tue Mar 5 21:32:37 2013

(define-record foo bar baz)

(define-record-printer (foo obj port)
  (write (list (cons 'bar (foo-bar obj))
               (cons 'baz (foo-baz obj)))))

(define (introspect-foo obj)
  (with-input-from-string
      (with-output-to-string (cut display obj))
    read))

(define foo (make-foo 'bar 'baz))

(pp (introspect-foo foo))

Your annotation:

Enter a new annotation:

Your nick:
The title of your paste:
Your paste (mandatory) :
Which egg provides `string-pad-right'?
Visually impaired? Let me spell it for you (wav file) download WAV