Thanks for the reply!
I've taken a look at
https://www.gnu.org/software/guile/manual/html_node/Declarative-Modules.html
It's related to #:declarative?
Thanks again!
Best regards.
On Wed, Sep 18, 2024 at 11:50 PM Thompson, David
wrote:
> On Wed, Sep 18, 2024 at 10:38 AM Nala Ginrut wrote:
> >
Hi folks!
Recently I was bothered by a strange bug when debugging Artanis, here's how
to reproduce.
You need three files, say aaa.scm, bbb.scm, and entry
-aaa.scm
(define-module (aaa)
#:export (global))
(define global #f)
--aaa.scm end-
On Wed, Sep 18, 2024 at 10:38 AM Nala Ginrut wrote:
>
> The result is:
> ;;; (before #f)
> ;;; (after #f)
>
> The expected result should be:
> ;; (before #f)
> ;; (after 123)
I don't think this is a bug. Both modules are declarative (the
default). 'global' from module (aaa) is presumably being in