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/vcomponent/util/describe.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 'module/vcomponent/util/describe.scm')
-rw-r--r-- | module/vcomponent/util/describe.scm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/module/vcomponent/util/describe.scm b/module/vcomponent/util/describe.scm index 703ac73a..36a3f998 100644 --- a/module/vcomponent/util/describe.scm +++ b/module/vcomponent/util/describe.scm @@ -2,9 +2,10 @@ :use-module (hnh util) :use-module (srfi srfi-71) :use-module (vcomponent base) - :use-module (text util)) + :use-module (text util) + :export (describe)) -(define*-public (describe vcomponent optional: (indent 0)) +(define* (describe vcomponent optional: (indent 0)) (define ii (make-string indent #\space)) (define iii (make-string (1+ indent) #\space)) @@ -39,7 +40,6 @@ (compose symbol->string car))) (for child in (children vcomponent) - (describe child (+ indent 2))) (format #t "~aEND ~a~%" ii (type vcomponent))) |