From ba48718b5bc6d0eb4eef1f8ead91940e1c011206 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Sun, 13 Feb 2022 22:12:33 +0100 Subject: Datetime restrict imports. We might want to break datetime out into its own (independent) module, but for that we should have a clear understanding of what it uses. --- module/datetime/timespec.scm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'module/datetime/timespec.scm') diff --git a/module/datetime/timespec.scm b/module/datetime/timespec.scm index 9b236e2d..712ff327 100644 --- a/module/datetime/timespec.scm +++ b/module/datetime/timespec.scm @@ -4,8 +4,10 @@ ;;; Code: (define-module (datetime timespec) - :use-module (hnh util) - :use-module (hnh util exceptions) + :export (make-timespec + timespec? timespec-time timespec-sign timespec-type) + :use-module ((hnh util) :select (set define*-public unless let*)) + :use-module ((hnh util exceptions) :select (warning)) :use-module (datetime) :use-module (srfi srfi-1) :use-module (srfi srfi-9 gnu) @@ -26,8 +28,6 @@ ;; u, g, z - Universal time (type timespec-type)) ; char -(export make-timespec timespec? timespec-time timespec-sign timespec-type) - (define-public (timespec-zero) (make-timespec (time) '+ #\w)) -- cgit v1.2.3