Abdulaziz Ghuloum wrote:
I can easily write
(library (a)
(export a)
(import (rnrs-dev))
(define (a) (x))
(define (x) 10))
(library (b)
(export b)
(import (rnrs-dev)
(a))
(define (b) (a)))
and then, from the repl, do
> (import (a) (b))
> (set! a (lambda () 20))
> (b)
17
Um... hello...? ;-) I said change 'x', which is not exported from library a. And perhaps you meant '20' instead of '17'?
What would rnrs-dev provide differently from rnrs? Ed
