aboutsummaryrefslogtreecommitdiff
path: root/module/web/query.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/web/query.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/web/query.scm')
-rw-r--r--module/web/query.scm5
1 files changed, 3 insertions, 2 deletions
diff --git a/module/web/query.scm b/module/web/query.scm
index 2d62b45d..4a1abf66 100644
--- a/module/web/query.scm
+++ b/module/web/query.scm
@@ -2,9 +2,10 @@
:use-module (hnh util)
:use-module (srfi srfi-1)
:use-module (srfi srfi-71)
- :use-module (web uri))
+ :use-module (web uri)
+ :export (parse-query))
-(define*-public (parse-query query-string optional: (encoding "UTF-8"))
+(define* (parse-query query-string optional: (encoding "UTF-8"))
(unless (or (not query-string) (string-null? query-string))
(fold (lambda (str list)
;; only split on the first equal.