[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Scheme function question
From: |
David Kastrup |
Subject: |
Re: Scheme function question |
Date: |
Thu, 21 Nov 2013 17:57:40 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
James Worlton <address@hidden> writes:
> That is starting to make sense, after reading it a few times :) I've
> replaced #note with $note in both cases in the function and it works
> properly. Thanks!
>
> I need to go back and re-read the part about the difference between # and $
> in Scheme variables...
As a rule, don't use a music argument twice without copying in the same
expression. \music copies music, just like $music does. #music is very
Scheme-like: it does not change anything. Often, that's what you want.
--
David Kastrup
Re: Scheme function question, David Kastrup, 2013/11/22