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