Re: Question (define and set!)

2020-05-04 Thread Christopher Heckman
On Mon, May 4, 2020 at 9:04 AM Jean Abou Samra wrote: > > Date: Mon, 4 May 2020 12:21:30 +0200 > From: Jean Abou Samra > To: lilypond-devel@gnu.org > Subject: Question (define and set!) > Message-ID: <8f79371e-400b-574b-3126-146d008cf...@abou-samra.fr> > Content-Type

Re: Question (define and set!)

2020-05-04 Thread David Kastrup
Jean Abou Samra writes: > Hi, > > Why do you often find constructs similar to this one in LilyPond's source? > > midi.scm line 26: > > (define-session-public absolute-volume-alist '()) > (set! absolute-volume-alist (append absolute-volume-alist etc.)) > > line 72: > > (define instrument-names-ali

Question (define and set!)

2020-05-04 Thread Jean Abou Samra
Hi, Why do you often find constructs similar to this one in LilyPond's source? midi.scm line 26: (define-session-public absolute-volume-alist '()) (set! absolute-volume-alist (append absolute-volume-alist etc.)) line 72: (define instrument-names-alist '()) (set! instrument-names-alist ... Is