aboutsummaryrefslogtreecommitdiff
path: root/module/vcalendar/recurrence/internal.scm
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@hornquist.se>2019-04-20 21:43:29 +0200
committerHugo Hörnquist <hugo@hornquist.se>2019-04-20 21:43:29 +0200
commit73cf8eeb8a90749df961a3a4d0e3940205474424 (patch)
tree3a830651a0a22dd36ff4703a0bc15571c56c2116 /module/vcalendar/recurrence/internal.scm
parentImprove print-vcomponent. (diff)
downloadcalp-73cf8eeb8a90749df961a3a4d0e3940205474424.tar.gz
calp-73cf8eeb8a90749df961a3a4d0e3940205474424.tar.xz
Remove remaining export's.
Diffstat (limited to 'module/vcalendar/recurrence/internal.scm')
-rw-r--r--module/vcalendar/recurrence/internal.scm7
1 files changed, 3 insertions, 4 deletions
diff --git a/module/vcalendar/recurrence/internal.scm b/module/vcalendar/recurrence/internal.scm
index caa6ccca..7a81b2db 100644
--- a/module/vcalendar/recurrence/internal.scm
+++ b/module/vcalendar/recurrence/internal.scm
@@ -1,5 +1,6 @@
(define-module (vcalendar recurrence internal)
#:use-module (util)
+ #:use-module ((ice-9 optargs) #:select (define*-public))
#:use-module (srfi srfi-88)
#:export (make-recur-rule
weekdays intervals))
@@ -17,7 +18,7 @@
;; TODO make this part of define-quick-record.
;; Only "hard" part would be to provide type hints for fields for
;; string conversions.
-(define (format-recur-rule r)
+(define-public (format-recur-rule r)
(define (a f)
((record-accessor <recur-rule> f) r))
(with-output-to-string
@@ -34,11 +35,9 @@
(a field)))))
(record-type-fields <recur-rule>)))))
-(define* (print-recur-rule r #:optional (port (current-output-port)))
+(define*-public (print-recur-rule r #:optional (port (current-output-port)))
(display (format-recur-rule r) port))
-(export format-recur-rule print-recur-rule)
-
(define weekdays
'(SU MO TU WE TH FR SA))