Hi Werner,

> If I call
> 
> ```
> lilypond scheme-sandbox
> ```
> 
> I get the following prompt:
> 
> ```
> scheme@(#{ g94}#)>
> ```
> 
> What is this strange '@(#{ g94}#)' stuff?  What must I do to get, say,
> `scheme>` as the prompt?
> 
> 
>     Werner

Lilypond has all usercode evaluated in a separated module. All of the lilypond 
stuff sits in the (lily) module, but everything in your .ly file is executed in 
a generic new module. And this is what you see in the prompt.

If you do

    #(display (current-module))

you will in fact get

    #<module (#{ g94}#) 7fe14e8d81e0>

(or similar). So here the (#{ g94#) seems to be just some generically 
generated module name.

Indeed if you do say

    (set-current-module (resolve-module '(lily)))

you will then see a prompt like

    scheme@(lily)>

Cheers,
Tina

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to