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/web/uri-query.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/web/uri-query.scm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/module/web/uri-query.scm b/module/web/uri-query.scm index 56f3aef9..adf99803 100644 --- a/module/web/uri-query.scm +++ b/module/web/uri-query.scm @@ -1,6 +1,7 @@ (define-module (web uri-query) :use-module ((hnh util) :select (->quoted-string)) :use-module ((web uri) :select (uri-encode)) + :export (encode-query-parameters) ) ;; TODO why this format for values? @@ -8,7 +9,7 @@ ;; TODO why isn't this in the same module as `parse-query'? ;; TODO why isn't this on the same format as `parse-query'? -(define-public (encode-query-parameters parameters) +(define (encode-query-parameters parameters) (string-join (map (lambda (p) (format #f "~a=~a" |