Re: "Structure and interpretation" of Scheme

2022-03-06 Thread Luca Fascione
I was wondering how to do exactly this actually :-) Thanks Werner! L On Mon, 7 Mar 2022, 08:06 Werner LEMBERG, wrote: > > > https://www.cs.utexas.edu/ftp/garbage/submit/notready/schintro.ps > > > > [...] and the rendering is not great. > > Attached you can find a PDF version of `schintro.ps` th

Re: "Structure and interpretation" of Scheme

2022-03-06 Thread Carl Sorensen
Here's a link that is actually live, I think: https://cdn.preterhuman.net/texts/computing/programming/LISP/Scheme/An%20Introduction%20to%20Scheme%20and%20its%20Implementation.pdf Here's another: http://www.cs.rpi.edu/academics/courses/fall00/ai/scheme/reference/schintro-v14/schintro_toc.html

Re: "Structure and interpretation" of Scheme

2022-03-06 Thread Luca Fascione
Yip! https://www.cs.utexas.edu/ftp/garbage/submit/notready/schintro.ps and ftp://ftp.cs.utexas.edu/pub/garbage/cs345/schintro-v14/schintro_toc.html But without ftp support in the browser this is annoying to read Neither link feels like it would be around long term, and the rendering is not great.

Re: Setting up classical guitar fingerings

2022-03-06 Thread Valentin Petzel
Am Sonntag, 6. März 2022, 20:02:21 CET schrieb Luca Fascione: > - Your code "just prepends" a new cell with a key we're interested in > right in front of the old content (with which shares structure) > - It relies on lists being ordered, and all access to alists being a > straight linear scan fro

Re: "Structure and interpretation" of Scheme

2022-03-06 Thread Werner LEMBERG
> I went and learned about Scheme. Obv the classic reference would be > SICP (Structure and Intepretation of Computer programs) But as I was > reading stuff I stumbled into this pdf by Prof Wilson of > UTexas/Austin [...] Link, please. Werner

Re: Setting up classical guitar fingerings

2022-03-06 Thread Luca Fascione
Hi Valentin, thanks for the super prompt reply! On Sun, Mar 6, 2022 at 5:34 PM Valentin Petzel wrote: > So instead of doing the assoc-set! you might want to do something like > > (ly:grob-set-property! grob 'details `((beamed-lengths . ,stem-bmlgths) > . ,detls)) > For my edification, I'l

Re: Setting up classical guitar fingerings

2022-03-06 Thread Valentin Petzel
Hello Luca, the problem here is that assoc-set! MIGHT change the original alist (but it doesn’t have to). So it is adviced to always combine assoc-set! with an assignment. In this case assoc-set! changes the original alist. This alist is created once during definition of grob-defaults, so each

Re: Setting up classical guitar fingerings

2022-03-06 Thread Luca Fascione
So, I feel like I'm making progress here. However I am now at a different stumble, I feel I'm misunderstanding the referencing patterns of the grob properties somewhere. You'll see in the attached pdf that all the stems are very long. Here's what's going on: I'm experimenting with pushing the beam

Re: "Structure and interpretation" of Scheme (was: Comments wanted on code highlighting in PDF output)

2022-03-06 Thread Luca Fascione
Doubling up part of a different reply, in case somebody might find this useful at some point in the future: I went and learned about Scheme. Obv the classic reference would be SICP (Structure and Intepretation of Computer programs) But as I was reading stuff I stumbled into this pdf by Prof Wilson