[plt-scheme] Renaming module identifiers

From: dvanhorn at emba.uvm.edu (dvanhorn at emba.uvm.edu)
Date: Mon Nov 4 21:12:33 EST 2002

Is it possible to rename all exported identifiers of a module using a function
(symbol -> symbol)?

 From the documentation it seems only explicit renaming is allowed and must be
done for each identifier you wish to rename.  So then my question is, could I
add this functionality?

(require (rename-all some-module (lambda (x) x)))         ;; no change
(require (rename-all some-module (lambda (x) (gensym))))  ;; take an advil


dvanhorn at cs dot uvm dot edu

Posted on the users mailing list.