In case, the keys are in a list, so the syntax is (case the-case ((0) ...) ((1) ...))) You're currently missing the extra parens around the 0 and 1. For Scheme, "The Scheme Programming Language" by Dybvig is clear, but try to find the second edition -- I think the newer edition describes r6rs scheme which has been abandoned. Scheme is very close to Common Lisp, so the best intro of all is probably Peter Seibel's Practical Common Lisp, available online.
_______________________________________________ Cmdist mailing list Cmdist@ccrma.stanford.edu https://cm-mail.stanford.edu/mailman/listinfo/cmdist