aboutsummaryrefslogtreecommitdiff
path: root/module/vcomponent/formats/common/types.scm
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-06-23 03:23:44 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2022-06-23 03:48:22 +0200
commit1976980d4a272fb7fc3694c734bfc6825edfc721 (patch)
tree8460db1176c64895e9968447588953fac85fe7d6 /module/vcomponent/formats/common/types.scm
parentRemove all inline use-modules. (diff)
downloadcalp-1976980d4a272fb7fc3694c734bfc6825edfc721.tar.gz
calp-1976980d4a272fb7fc3694c734bfc6825edfc721.tar.xz
Centralize (almost) all exports to :export in define-module.
Diffstat (limited to 'module/vcomponent/formats/common/types.scm')
-rw-r--r--module/vcomponent/formats/common/types.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/vcomponent/formats/common/types.scm b/module/vcomponent/formats/common/types.scm
index 1a7ec0da..a8a923da 100644
--- a/module/vcomponent/formats/common/types.scm
+++ b/module/vcomponent/formats/common/types.scm
@@ -7,7 +7,7 @@
:use-module (srfi srfi-71)
:use-module (datetime timespec)
:use-module (calp translation)
- )
+ :export (get-parser))
;; BINARY
(define (parse-binary props value)
@@ -136,7 +136,7 @@
(hashq-set! type-parsers 'URI parse-uri)
(hashq-set! type-parsers 'UTC-OFFSET parse-utc-offset)
-(define-public (get-parser type)
+(define (get-parser type)
(or (hashq-ref type-parsers type #f)
(scm-error 'misc-error "get-parser" (_ "No parser for type ~a")
(list type) #f)))