<div dir="ltr">Hey there, Ben—I&#39;m an old schoolmate of yours from that time and place.  I use a pseudonym on discussion lists so as not to embarrass myself or our beloved teacher with my silly questions.  ; )<div><br></div><div>I&#39;m in the same situation—starting up Grace/CM after well over a decade of doing little to nothing with it. Bill Schottstaedt just gave me the names of the following handy resources a few weeks ago on the list. Here are some links:</div><div><br></div><div>
<p class=""><span class="">&quot;The Scheme Programming Language&quot; </span>by Dybvig</p>
<p class=""><a href="http://www.scheme.com/tspl2d/">http://www.scheme.com/tspl2d/</a></p><p class=""><br></p>
<p class=""><span class="">Peter Seibel&#39;s Practical Common Lisp </span></p><p class=""><a href="http://www.gigamonkeys.com/book/">http://www.gigamonkeys.com/book/</a></p><p class=""><span class=""></span></p></div><div><br></div>I think you&#39;re right about &quot;Scheme is a &#39;dialect&#39; of Lisp...and S7 is an extension of Scheme.&quot; but I&#39;ll let an expert confirm or correct.<div><br></div><div>Yes, there&#39;s an (nth x y) function in Scheme. I banged my head on this one too—It&#39;s backwards from what we remember:</div><div><br></div><div>(nth listname index) instead of (nth index listname)</div><div><br></div><div><br></div><div>Cheers to middle aged dogs re-learning old tricks! </div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Feb 21, 2016 at 1:00 PM,  <span dir="ltr">&lt;<a href="mailto:cmdist-request@ccrma.stanford.edu" target="_blank">cmdist-request@ccrma.stanford.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send Cmdist mailing list submissions to<br>
        <a href="mailto:cmdist@ccrma.stanford.edu">cmdist@ccrma.stanford.edu</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="https://cm-mail.stanford.edu/mailman/listinfo/cmdist" rel="noreferrer" target="_blank">https://cm-mail.stanford.edu/mailman/listinfo/cmdist</a><br>
or, via email, send a message with subject or body &#39;help&#39; to<br>
        <a href="mailto:cmdist-request@ccrma.stanford.edu">cmdist-request@ccrma.stanford.edu</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:cmdist-owner@ccrma.stanford.edu">cmdist-owner@ccrma.stanford.edu</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than &quot;Re: Contents of Cmdist digest...&quot;<br>
<br>
<br>
Today&#39;s Topics:<br>
<br>
   1. Community of Grace/CM users? (Ben McAllister)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Sun, 21 Feb 2016 10:48:13 -0800<br>
From: Ben McAllister &lt;<a href="mailto:benmca@gmail.com">benmca@gmail.com</a>&gt;<br>
To: cm list &lt;<a href="mailto:Cmdist@ccrma.Stanford.EDU">Cmdist@ccrma.Stanford.EDU</a>&gt;<br>
Subject: [CM] Community of Grace/CM users?<br>
Message-ID:<br>
        &lt;CADtM24xC3i7QGh5c_Dv7MX_YsYGBApr57=PUXv=<a href="mailto:H09Xhbw_smw@mail.gmail.com">H09Xhbw_smw@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=UTF-8<br>
<br>
Hi All,<br>
<br>
I studied Computer Music with Richard Karpen in the 90s at University<br>
of Washington, where CM 1.4 and Csound were the tools of the day. I&#39;ve<br>
been having a blast these past few weeks re-writing my CM 1.x pieces<br>
in Grace / CM3! Really great job on Grace - thanks so much for the<br>
documentation and examples in Grace. I found the tutorials and<br>
examples very easy to follow. I&#39;d like to find a way to contribute<br>
more examples as I work through resuscitating my old work :)<br>
<br>
I build software for a living, but haven&#39;t used Lisp for anything<br>
except music. It would be helpful for me to have a better view of<br>
where Common Music sits alongside Lisp, Scheme, and S7. If I<br>
understand correctly, Scheme is a &#39;dialect&#39; of Lisp with a rich<br>
community of users, and S7 is an extension of Scheme. Have I got that<br>
right?<br>
<br>
So, specifically to Grace, does this mean any Scheme code should run<br>
from a Grace editor window?<br>
<br>
As I refresh my memory on how to do relatively simple things in<br>
Scheme, I&#39;m not sure if they&#39;re intended to be supported in Scheme. To<br>
take one random example, I assume I can consult the latest Scheme docs<br>
online to figure out whether or not there&#39;s an (nth x y) function in<br>
Scheme like there is in CL - there isn&#39;t, but it&#39;s straightforward to<br>
code up:<br>
<br>
(define (nth n l)<br>
  (if (or (&gt; n (length l)) (&lt; n 0))<br>
    (error &quot;Index out of bounds.&quot;)<br>
    (if (eq? n 0)<br>
      (car l)<br>
      (nth (- n 1) (cdr l)))))<br>
<br>
<br>
Lastly, besides maybe Stack Overflow, it doesn&#39;t look like there is a<br>
place online where users can convene and share experiences and code<br>
except this mailing list. True?<br>
<br>
Thanks for reading and once again, great work!<br>
 --<br>
Ben McAllister | <a href="http://listenfaster.com" rel="noreferrer" target="_blank">listenfaster.com</a> |  @listenfaster<br>
<br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
Cmdist mailing list<br>
<a href="mailto:Cmdist@ccrma.stanford.edu">Cmdist@ccrma.stanford.edu</a><br>
<a href="https://cm-mail.stanford.edu/mailman/listinfo/cmdist" rel="noreferrer" target="_blank">https://cm-mail.stanford.edu/mailman/listinfo/cmdist</a><br>
<br>
<br>
End of Cmdist Digest, Vol 94, Issue 8<br>
*************************************<br>
<br>
</blockquote></div><br></div>