Welcome to the CHICKEN Scheme pasting service

<3 matchable added by C-Keen on Wed Jan 6 10:40:43 2016

(define (update-db db key #!key user password comment)
  (let ((entry (or (alist-ref key db equal?) (make-list 3 ""))))
    (alist-update key 
                  (match-let (((u p c) entry))
                             (list
                              (or user u)
                              (or password p)
                              (or comment c)))
                  db
                  equal?)))

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