Re: music-function name shadowing a Scheme keyword

2018-06-27 Thread Flaming Hakama by Elaine
> Subject: Re: music-function name shadowing a Scheme keyword > Am 27.06.2018 um 11:15 schrieb Urs Liska: > > > > > > Am 27.06.2018 um 11:09 schrieb Urs Liska: > >> Hi Jan-Peter, > >> > >> > >> Am 27.06.2018 um 10:48 schrieb Jan-Peter

Re: music-function name shadowing a Scheme keyword

2018-06-27 Thread Urs Liska
Am 27.06.2018 um 14:51 schrieb David Kastrup: Andrew Bernard writes: Hi Urs, It's not a Scheme language keyword, but a procedure name from SRFI-1. (srfi srfi-1) is loaded and imported into the parser by default. which makes it not a real Scheme keyword but from the perspective of my

Re: music-function name shadowing a Scheme keyword

2018-06-27 Thread David Kastrup
Andrew Bernard writes: > Hi Urs, > > It's not a Scheme language keyword, but a procedure name from SRFI-1. (srfi srfi-1) is loaded and imported into the parser by default. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org

Re: music-function name shadowing a Scheme keyword

2018-06-27 Thread Andrew Bernard
Hi Urs, It's not a Scheme language keyword, but a procedure name from SRFI-1. I concur with the others that it is not really good practice to override this, even though Scheme allows you to do many wonderful things. That's bound to lead to hard to diagnose unpredictable behaviour for users at

Re: music-function name shadowing a Scheme keyword

2018-06-27 Thread Jan-Peter Voigt
Am 27.06.2018 um 11:15 schrieb Urs Liska: Am 27.06.2018 um 11:09 schrieb Urs Liska: Hi Jan-Peter, Am 27.06.2018 um 10:48 schrieb Jan-Peter Voigt: Hi Urs, you might import the SRFI-1 span-function and give that a new name. The counterpart-function to span is break, which "conflicts with

Re: music-function name shadowing a Scheme keyword

2018-06-27 Thread Jan-Peter Voigt
Am 27.06.2018 um 11:09 schrieb Urs Liska: Hi Jan-Peter, Am 27.06.2018 um 10:48 schrieb Jan-Peter Voigt: Hi Urs, you might import the SRFI-1 span-function and give that a new name. The counterpart-function to span is break, which "conflicts with the break binding established by while (see

Re: music-function name shadowing a Scheme keyword

2018-06-27 Thread Urs Liska
Am 27.06.2018 um 11:09 schrieb Urs Liska: Hi Jan-Peter, Am 27.06.2018 um 10:48 schrieb Jan-Peter Voigt: Hi Urs, you might import the SRFI-1 span-function and give that a new name. The counterpart-function to span is break, which "conflicts with the break binding established by while (see

Re: music-function name shadowing a Scheme keyword

2018-06-27 Thread Urs Liska
Hi Jan-Peter, Am 27.06.2018 um 10:48 schrieb Jan-Peter Voigt: Hi Urs, you might import the SRFI-1 span-function and give that a new name. The counterpart-function to span is break, which "conflicts with the break binding established by while (see while do). Applications wanting to use

Re: music-function name shadowing a Scheme keyword

2018-06-27 Thread Jan-Peter Voigt
Hi Urs, you might import the SRFI-1 span-function and give that a new name. The counterpart-function to span is break, which "conflicts with the break binding established by while (see while do). Applications wanting to use break from within a while loop will need to make a new define under a

music-function name shadowing a Scheme keyword

2018-06-26 Thread Urs Liska
Hi all, I've mostly completed the implementation of a "span" module that provides the \span music-function, which is roughly the same as the HTML element. Nearly everything works fine by now, and I've been very happy with the name - until I realized that a music-function \span can be