Christopher Allan Webber <cweb...@dustycloud.org> skribis: > Ludovic Courtès writes:
[...] >> We could do a quick hack to iterate over the exported bindings, >> re-export them, and print a message. >> >> However, I think it would be best to have a mechanism in the module >> abstraction to /declare/ renames. That would allow both the compiler >> and the run-time support to emit an appropriate warning. >> >> This would require something like adding a special field to ‘module’ >> records, such that one can write, say: >> >> (define-module (ice-9 q) >> #:superseded-by (ice-9 queue)) >> >> With that in place, it will become much easier to discuss about ice-9 >> renames, IMO. >> >> Thoughts? >> >> Thanks, >> Ludo’. > > I think that would be useful. There's been talk about renaminig things > from (ice-9) into a (guile) namespace. Likewise aliasing things from > (srfi) to something more human-readable. Are the rename and aliasing > thing the same step or two different things? Module aliases and deprecation would probably be implemented similarly, so there’s a connection between the two. Ludo’.