Well, not sure what you mean, and if there is a problem it must be something in your code. I attach a simple example where the module (b) re-exports a definition from the used module (a). You need to have the directory re-export on your %load-path in order to be able to ,use (b) after which you should be able to type x and get 1. Best regards, Mikael On Mon, Oct 30, 2023 at 8:37 AM Damien Mattei wrote: > i tried: > > ;;; WARNING: compilation of /usr/local/share/guile/site/3.0/Scheme+.scm > failed: > ;;; re-exporting local variable: infix-operators-lst > While compiling expression: > re-exporting local variable: infix-operators-lst > > anyway it works with loading each module separately at different > levels, code is perheaps more clean to read like that instead of > calculating what modules should re-export above which complex things > and sometimes cause re-exporting the same variable from multiple > modules... > > On Sun, Oct 29, 2023 at 11:06 PM Mikael Djurfeldt > wrote: > > > > #:re-export > > > > Den sön 29 okt. 2023 23:05Mikael Djurfeldt skrev: > >> > >> Look at #re-export here: > >> > >> > https://www.gnu.org/software/guile/manual/html_node/Creating-Guile-Modules.html > >> > >> Den sön 29 okt. 2023 21:55Damien Mattei > skrev: > >>> > >>> i noticed that in Guile if i use a module in a module i can not export > >>> the definitions of the used module. It is possible in Racket but in > >>> guile it even cause problems. > >>> >