From 1976980d4a272fb7fc3694c734bfc6825edfc721 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Thu, 23 Jun 2022 03:23:44 +0200 Subject: Centralize (almost) all exports to :export in define-module. --- module/web/http/make-routes.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'module/web/http/make-routes.scm') diff --git a/module/web/http/make-routes.scm b/module/web/http/make-routes.scm index f5277ca5..3005200b 100644 --- a/module/web/http/make-routes.scm +++ b/module/web/http/make-routes.scm @@ -1,16 +1,17 @@ (define-module (web http make-routes) - :export (make-routes) :use-module (hnh util) :use-module (ice-9 regex) :use-module (ice-9 match) :use-module (ice-9 curried-definitions) :use-module (srfi srfi-1) :use-module (srfi srfi-71) + :export (parse-endpoint-string + make-routes) ) -(define-public (parse-endpoint-string str) +(define (parse-endpoint-string str) (let ((rx (make-regexp ":([^/.]+)(\\{([^}]+)\\})?([.])?"))) (let loop ((str str) (string "") -- cgit v1.2.3