Welcome to the CHICKEN Scheme pasting service

trace parser pasted by DerGuteMoritz on Sat May 3 17:17:39 2014

(define (trace name parser)
  (bind parser (lambda (x)
                 (pp (list name x))
                 (result x))))

advanced parser trace added by DerGuteMoritz on Sat May 3 17:36:36 2014

(define (trace name parser #!optional trace-failure?)
  (any-of (bind parser (lambda (x)
                         (pp (list 'success name x))
                         (result x)))
          (lambda (in)
            (when trace-failure?
              (pp (list 'fail name in)))
            #f)))

Your annotation:

Enter a new annotation:

Your nick:
The title of your paste:
Your paste (mandatory) :
Name of the CHICKEN interpreter:
Visually impaired? Let me spell it for you (wav file) download WAV