[CM] help with case statement

Lynn Artas artaslynn at gmail.com
Tue Jan 26 14:34:59 PST 2016


Up and running again. Thanks for the help and resources, Bil!


On Tue, Jan 26, 2016 at 2:07 PM, <bil at ccrma.stanford.edu> wrote:

> 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.
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cm-mail.stanford.edu/mailman/private/cmdist/attachments/20160126/ca55d4da/attachment.html>


More information about the Cmdist mailing list