Re: fraction-with-notes problem as of version 2.21.0

2019-04-09 Thread Jacques Menu
Hello Harm, Thanks for your answer. I mistakenly used 2.19.82’s convert-ly… The second version is more explicit, by the way. Sorry for the noise, and a nice day! JM > Le 9 avr. 2019 à 20:52, Thomas Morley a écrit : > > Am Di., 9. Apr. 2019 um 07:42 Uhr schrieb Jacques Menu

RE: scheme memory address

2019-04-09 Thread Andrew Bernard
Hi Gianmaria, Your requirement is to have a numbered list, similar to that in outlines. Basically what you want is a counter, and this can be implemented in Lisp like languages with a closure. A closure results from the fact that in Scheme a function records its environment, and this

RE: scheme memory address

2019-04-09 Thread Andrew Bernard
Hi Gianmaria, It’s time to stop and take stock here. It’s clear you have some background in programming, but it is even more clear that you have not studied Lisp and Scheme, except in a passing manner. The Lisp family of languages is fundamentally different from languages like C. It takes a

Re: A LilyPond Café in Paris

2019-04-09 Thread Urs Liska
Am 08.04.19 um 16:30 schrieb Karlin High: On 4/8/2019 9:06 AM, Abraham Lee wrote: I think you should a write-up on lilypondblog.org , even a quick one would be great! +1 I was thinking the same thing. If others elsewhere want to organize similar events, it could

Re: scheme memory address

2019-04-09 Thread David Kastrup
Carl Sorensen writes: > From: Gianmaria Lari > Date: Tuesday, April 9, 2019 at 8:17 AM > To: David Kastrup > Cc: lilypond-user > Subject: Re: scheme memory address > > I wanted to print the address of the variable x and then the address > of the parameter lst just to show that x and lst have

Re: scheme memory address

2019-04-09 Thread Carl Sorensen
From: Gianmaria Lari Date: Tuesday, April 9, 2019 at 8:17 AM To: David Kastrup Cc: lilypond-user Subject: Re: scheme memory address I wanted to print the address of the variable x and then the address of the parameter lst just to show that x and lst have different address (so x is passed

Re: fraction-with-notes problem as of version 2.21.0

2019-04-09 Thread Thomas Morley
Am Di., 9. Apr. 2019 um 07:42 Uhr schrieb Jacques Menu : > > Hello folks, > > This snippet taken from LPNR 2.19.82 is handled alright by the latter, but > fails with 2.21.0: > > %%% > \version "2.21.0" > > \relative c'' { > \once \override TupletNumber.text =

Re: scheme memory address

2019-04-09 Thread Gianmaria Lari
On Tue, 9 Apr 2019 at 17:07, David Kastrup wrote: > Gianmaria Lari writes: > > > On Tue, 9 Apr 2019 at 11:13, David Kastrup wrote: > > > >> Gianmaria Lari writes: > >> > >> > On Tue, 9 Apr 2019 at 10:45, David Kastrup wrote: > >> > > >> >> Gianmaria Lari writes: > >> >> > >> >> > Suppose I

Re: scheme memory address

2019-04-09 Thread David Kastrup
Gianmaria Lari writes: > On Tue, 9 Apr 2019 at 11:13, David Kastrup wrote: > >> Gianmaria Lari writes: >> >> > On Tue, 9 Apr 2019 at 10:45, David Kastrup wrote: >> > >> >> Gianmaria Lari writes: >> >> >> >> > Suppose I write >> >> > >> >> > >> >> > #(define x '(1 2 3)) >> >> > >> >> > >> >>

Re: scheme memory address

2019-04-09 Thread Andrew Bernard
Hi Gianmaria, You are trying to use Scheme as though it were C. It isn't. I'd really like you to read the book I referred you to recently. If you really must learn about how pointers are used underneath everything in Scheme (and which you do not need to know about for programming, mostly), this

Re: scheme memory address

2019-04-09 Thread Gianmaria Lari
On Tue, 9 Apr 2019 at 11:13, David Kastrup wrote: > Gianmaria Lari writes: > > > On Tue, 9 Apr 2019 at 10:45, David Kastrup wrote: > > > >> Gianmaria Lari writes: > >> > >> > Suppose I write > >> > > >> > > >> > #(define x '(1 2 3)) > >> > > >> > > >> > is there any way in scheme to print the

Re: scheme memory address

2019-04-09 Thread David Kastrup
Gianmaria Lari writes: > On Tue, 9 Apr 2019 at 10:45, David Kastrup wrote: > >> Gianmaria Lari writes: >> >> > Suppose I write >> > >> > >> > #(define x '(1 2 3)) >> > >> > >> > is there any way in scheme to print the memory address where x is >> pointing >> > to? (where is allocated the first

Re: scheme memory address

2019-04-09 Thread Gianmaria Lari
On Tue, 9 Apr 2019 at 10:45, David Kastrup wrote: > Gianmaria Lari writes: > > > Suppose I write > > > > > > #(define x '(1 2 3)) > > > > > > is there any way in scheme to print the memory address where x is > pointing > > to? (where is allocated the first element of the list) > > What do you

Re: scheme set list function

2019-04-09 Thread Gianmaria Lari
On Tue, 9 Apr 2019 at 10:29, David Kastrup wrote: > Gianmaria Lari writes: > > > Ciao Harm, Andrew, Aaron and David, > > > > this is what I have been able to do adapting Harm code: > > > > \version "2.21.0" > > foo = > > #(let ((x '(1))) > > (define-scheme-function (arg)(symbol?) > >

Re: scheme memory address

2019-04-09 Thread David Kastrup
Gianmaria Lari writes: > Suppose I write > > > #(define x '(1 2 3)) > > > is there any way in scheme to print the memory address where x is pointing > to? (where is allocated the first element of the list) What do you need it for? If it is for identification, (hashq x 10) should

Re: scheme set list function

2019-04-09 Thread David Kastrup
Gianmaria Lari writes: > Ciao Harm, Andrew, Aaron and David, > > this is what I have been able to do adapting Harm code: > > \version "2.21.0" > foo = > #(let ((x '(1))) > (define-scheme-function (arg)(symbol?) > (case arg > ((incNumber) (set! x (append (drop-right x 1) (list (1+

Re: Arrows indicating split/combined voices (aka snippet #650) overlapping TimSignature changes

2019-04-09 Thread Michael Gerdau
Hi Aaron, thank you for providing these enhancements to snippet 650! I now had time to play around a bit and use it in "real world" scores. To my eyes your choices w/r to dimensions etc. are just fine, possibly with the single exception that I think I prefer to remove the 0.5 staff spaces

scheme memory address

2019-04-09 Thread Gianmaria Lari
Suppose I write #(define x '(1 2 3)) is there any way in scheme to print the memory address where x is pointing to? (where is allocated the first element of the list) Thank you, g. ___ lilypond-user mailing list lilypond-user@gnu.org

Re: scheme set list function

2019-04-09 Thread Gianmaria Lari
Ciao Harm, Andrew, Aaron and David, this is what I have been able to do adapting Harm code: \version "2.21.0" foo = #(let ((x '(1))) (define-scheme-function (arg)(symbol?) (case arg ((incNumber) (set! x (append (drop-right x 1) (list (1+ (last x)) ((unindent) (drop-right! x