Re: custom module loading and compilation

2024-05-23 Thread Paul Jarc
I wrote: > This works when I run Guile with --no-auto-compile, but with > compilation enabled, I get: > ;;; Unbound variable: my-load > How can I make the binding visible to the compiler? In case anyone else runs into this: I solved it by wrapping the definition of my-load in (eval-when (expand ev

Re: custom module loading and compilation

2024-05-13 Thread Nala Ginrut
Hi Paul! I don't know why you don't use the standard module definition and import/export interface, but if you do want to play modules with the introspection functions, here's a hint for you: --- (define (export-all-from-modu