while working on a patch to improve markup->string from markup.scm I
(pretty-print (list? (ly:module->alist (resolve-module '(lily)))))
inserted at toplevel in markup.scm returns several times:
programming error: unbound variable in module
continuing, cross fingers
While doing same in a ly-files return no error.
Adding some debugging code in markup.scm:
(lambda (e v)
(if (variable-bound? v) #f e))
The following list is returned:
I guess at the time it is called not all bindings are done in the
lily-module as opposed to caling it far later in a ly-file.
Is this correct?
I can cope with it, just wanted to be sure.