mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-29 19:30:36 +02:00
* examples/modules/main: Use :renamer for specifying renaming procedure.
This commit is contained in:
parent
08576c585e
commit
4be5d97625
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2001-07-14 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
|
||||
|
||||
* modules/main: Use :renamer for specifying renaming procedure.
|
||||
|
||||
2001-07-10 Thien-Thi Nguyen <ttn@revel.glug.org>
|
||||
|
||||
* scripts/hello (display-version, display-help): Fix comment; nfc.
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
;; Module 1 is imported completely, too, but the procedure names are
|
||||
;; prefixed with the module name.
|
||||
;;
|
||||
:use-module ((module-1) :rename (symbol-prefix-proc 'module-1:))
|
||||
:use-module ((module-1) :renamer (symbol-prefix-proc 'module-1:))
|
||||
|
||||
;; From module 2, only the procedure `braz' is imported, so that the
|
||||
;; procedures `foo' and `bar' also exported by that module don't
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue