guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Guile import issue


From: Jean Abou Samra
Subject: Re: Guile import issue
Date: Thu, 15 Jun 2023 12:33:32 +0200
User-agent: Evolution 3.48.3 (3.48.3-1.fc38)

Le jeudi 15 juin 2023 à 12:29 +0200, Jean Abou Samra a écrit :

> As you can see, the library macro has turned the (export real-part) part into 
> a re-export from (guile).

Sigh. This is the code from `module/ice-9/r6rs-libraries.scm`:

```
    (define (compute-exports ifaces specs)
      (define (re-export? sym)
        (or-map (lambda (iface) (module-variable iface sym)) ifaces))
      (define (replace? sym)
        (module-variable the-scm-module sym))
```

This will just treat anything as re-export if it's defined in one of the 
imported modules, even if the module being defined also has a same-named 
binding...

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]