Welcome to the CHICKEN Scheme pasting service

matchable: single optional match in list added by klm` on Mon Sep 21 16:58:49 2015


I got this:

(let ((b #f))
  (match '(1 2) ;; <-- i want '(1) and '(1 2) to work
    ((or (a b) (a))
     (list a b))))

This works. But I don't like that I have to repeat `b` in the let above.

Your annotation:

Enter a new annotation:

Your nick:
The title of your paste:
Your paste (mandatory) :
What does `(string-chomp "foobar")' produce?
Visually impaired? Let me spell it for you (wav file) download WAV