$ rlwrap ikarus
Ikarus Scheme version 0.0.3+ (revision 1670, build 2008-11-11)
Copyright (c) 2006-2008 Abdulaziz Ghuloum
> (import (B))
> (get)
1
> (define get1 get)
> (get1)
1
> (uninstall-library '(B))
> (import (B))
> (get)
2
> (get1)
1
> ^D
IronScheme 1.0
(import (B))
(get)
1
(define get1 get)
(get1)
1
(uninstall-library '(B))
(import (B))
(get)
2
(get1)
1
OK, good till here.
$ cat > dep.ss
(import (B))
^D
$ ikarus --compile-dependencies dep.ss
Serializing "./B.ss.ikarus-fasl" ...
Serializing "./A.ss.ikarus-fasl" ...
$ rlwrap ikarus
Ikarus Scheme version 0.0.3+ (revision 1670, build 2008-11-11)
Copyright (c) 2006-2008 Abdulaziz Ghuloum
> (import (B))
> (get)
1
> (define get1 get)
> (get1)
1
> (uninstall-library '(B))
> (import (B))
> (get)
2
> (get1)
2 ;;; BROKE GET1
> ^D
IronScheme 1.0
(import (B))
(get)
1
(define get1 get)
(get1)
1
(uninstall-library '(B))
(import (B))
(get)
2
(get1)
1
Do I win? :o)
What I do notice, is that when changes are made to the content of B.ss
(after being loaded from a serialized state), uninstall and import again,
does not reflect the changes.
Cheers
leppie