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/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 'module/web/query.scm')
-rw-r--r-- | module/web/query.scm | 5 |
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. |