Welcome to the CHICKEN Scheme pasting service

Logging errors from web server. added by rgherdt on Wed May 20 21:02:22 2020

(import (scheme base)
        spiffy
        srfi-18)

(define (app)
  (parameterize ((error-log "/tmp/server-error.log")
                 (access-log "/tmp/server-access.log")
                 (debug-log "/tmp/server-debug.log"))
    (error "An error")))

(define thread
  (thread-start!
   (lambda ()
     (vhost-map `((".*" . ,(lambda (c) (app)))))
     (start-server))))

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