Martin Grabmueller <[EMAIL PROTECTED]> writes:
> guile> (use-modules (ice-9 safe))
>
> Running with GUILE_WARN_DEPRECATED=detailed gives tons of
>
> [...]
> (You just re-exported `char-ci>?' from `(ice-9 safe-r5rs)'.)
>
> messages. (Compiling with --disable-deprecated does not work at all,
> because then `define' is not defined in safe environments.)
This is correct. You export `define' but you never define it.
> Again, I don't know how to fix this. I tried replacing the `export'
> with `re-export' in null.scm, but this just gives an `unbound
> variable: unquote' error.
That is correct as well, since there is no definition for `unquote'
and `unquote-splicing'.
The fix is to use `re-export' and not export `unquote' etc. Also,
safe-.r5rs.scm should use re-export, except for `null-environment'
which has a proper local definition. I have fixed this.
I noticed that we don't have `rationalize', `numerator' and
`denominator', but we should even if we don't have rationals.
_______________________________________________
Bug-guile mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-guile