<div dir="ltr">Hey there, Ben—I'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'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="">"The Scheme Programming Language" </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'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're right about "Scheme is a 'dialect' of Lisp...and S7 is an extension of Scheme." but I'll let an expert confirm or correct.<div><br></div><div>Yes, there's an (nth x y) function in Scheme. I banged my head on this one too—It'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"><<a href="mailto:cmdist-request@ccrma.stanford.edu" target="_blank">cmdist-request@ccrma.stanford.edu</a>></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 'help' 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 "Re: Contents of Cmdist digest..."<br>
<br>
<br>
Today'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 <<a href="mailto:benmca@gmail.com">benmca@gmail.com</a>><br>
To: cm list <<a href="mailto:Cmdist@ccrma.Stanford.EDU">Cmdist@ccrma.Stanford.EDU</a>><br>
Subject: [CM] Community of Grace/CM users?<br>
Message-ID:<br>
<CADtM24xC3i7QGh5c_Dv7MX_YsYGBApr57=PUXv=<a href="mailto:H09Xhbw_smw@mail.gmail.com">H09Xhbw_smw@mail.gmail.com</a>><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'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'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'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 'dialect' 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'm not sure if they'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's an (nth x y) function in<br>
Scheme like there is in CL - there isn't, but it's straightforward to<br>
code up:<br>
<br>
(define (nth n l)<br>
(if (or (> n (length l)) (< n 0))<br>
(error "Index out of bounds.")<br>
(if (eq? n 0)<br>
(car l)<br>
(nth (- n 1) (cdr l)))))<br>
<br>
<br>
Lastly, besides maybe Stack Overflow, it doesn'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>