Re: Engravers, fingerings and acknowledgments

2024-07-29 Thread Luca Fascione
On Tue, Jul 30, 2024 at 5:57 AM David Kastrup wrote: > Lukas-Fabian Moser writes: > > > You're using append! wrong. > > So try > > > > (set! fl (append fl ...)) > > (append! '() ...) > > cannot modify an empty list in-place because there is only one empty > list in the whole system and it is an

Re: Engravers, fingerings and acknowledgments

2024-07-29 Thread David Kastrup
Lukas-Fabian Moser writes: > Hi Luca, > > without having tested your code: You're using append! wrong. > > From the Guile documentation: "append! is permitted, but not required, to > modify the given lists to form its return." > So the exclamation mark does not imply that your list gets modified

Re: Engravers, fingerings and acknowledgments

2024-07-29 Thread Lukas-Fabian Moser
Hi Luca, without having tested your code: You're using append! wrong. >From the Guile documentation: "append! is permitted, but not required, to modify the given lists to form its return." So the exclamation mark does not imply that your list gets modified in-place, but rather that you don't care