On 24/01/2023 15:26, Mark Mathias wrote: > I've taken up Jean Abou Samra's invitation to develop my understanding of > Scheme through the scheme-sandbox. I'm on Windows 10 with Guile 2.2.7 in a > command prompt window. The command prompt looks correct: > > scheme@(#{ g100}#)>. > > > I hit a wall right away. When I type "42", Scheme should print "42" back > according to Jean's tutorial. Instead I see: > > > While compiling expression: > In procedure bytevector-u64-set!: Value out of range: -149659645 > > > Typing ",help all" hasn't given me a clue for what to do next, nor has a web > search turned up something I understand. > > Thank you in advance. I really enjoy LilyPond and the community connected > therewith.
Ouch, that looks like a variant of https://gitlab.com/lilypond/lilypond/-/issues/6474 As a workaround, try putting this in a file called ".guile" (note the leading dot) in your home directory: (use-modules (system repl common)) (repl-default-option-set! 'interp #t) Or instead of using "lilypond scheme-sandbox", use "lilypond my-scheme-sandbox.ly", putting this in the file "my-scheme-sandbox.ly": #(use-modules (system repl common)) #(repl-default-option-set! 'interp #t) \include "scheme-sandbox.ly" HTH, Jean
OpenPGP_signature
Description: OpenPGP digital signature