diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-06-23 03:23:44 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-06-23 03:48:22 +0200 |
commit | 1976980d4a272fb7fc3694c734bfc6825edfc721 (patch) | |
tree | 8460db1176c64895e9968447588953fac85fe7d6 /module/sxml/namespace.scm | |
parent | Remove all inline use-modules. (diff) | |
download | calp-1976980d4a272fb7fc3694c734bfc6825edfc721.tar.gz calp-1976980d4a272fb7fc3694c734bfc6825edfc721.tar.xz |
Centralize (almost) all exports to :export in define-module.
Diffstat (limited to '')
-rw-r--r-- | module/sxml/namespace.scm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/module/sxml/namespace.scm b/module/sxml/namespace.scm index af770f7a..144d1905 100644 --- a/module/sxml/namespace.scm +++ b/module/sxml/namespace.scm @@ -1,6 +1,7 @@ (define-module (sxml namespace) :use-module (hnh util) - :use-module (sxml transform)) + :use-module (sxml transform) + :export (move-to-namespace)) (define* (symbol-split symbol key: (sep #\:)) (->> (-> symbol @@ -29,7 +30,7 @@ ;; => (c:a (c:b)) ;; @end example ;; sxml, (U symbol string #f (alist (U #f symbol) (U symbol string #f))) → sxml -(define-public (move-to-namespace sxml namespace-map) +(define (move-to-namespace sxml namespace-map) (define (nssymb key) (define namespace |