Re: export from an imported module

2023-10-30 Thread Damien Mattei
thank you it works now for the first time, i do not really know what was wrong, i just do: rm -rf .cache/guile and tried a re-export and it is ok. I know the local cache but between multiple architecture with same code shared via dropbox can cause problems now it is ok like in Racket code, i again

Re: export from an imported module

2023-10-30 Thread Mikael Djurfeldt
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 sh

Re: export from an imported module

2023-10-30 Thread Damien Mattei
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

Re: export from an imported module

2023-10-29 Thread Mikael Djurfeldt
#: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

Re: export from an imported module

2023-10-29 Thread Mikael Djurfeldt
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

export from an imported module

2023-10-29 Thread Damien Mattei
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.