From: Christopher Allan Webber Date: Sun, 22 Nov 2015 20:00:20 +0000 (-0600) Subject: note about possibly replacing time-from-float-or-fraction with srfi-18 stuff X-Git-Tag: v0.1.0~103 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;ds=sidebyside;h=060e7509ca51307b6ebcb6d8c5bc22451db3a384;hp=303e03c6b0815f412aaa615194d1875ed0c2398a;p=8sync.git note about possibly replacing time-from-float-or-fraction with srfi-18 stuff --- diff --git a/eightsync/agenda.scm b/eightsync/agenda.scm index e4cb1df..8905c1b 100644 --- a/eightsync/agenda.scm +++ b/eightsync/agenda.scm @@ -150,6 +150,9 @@ Generally done automatically for the user through (make-agenda)." (time time-segment-time) (queue time-segment-queue)) +;; @@: This seems to be the same as srfi-18's seconds->time procedure? +;; Maybe double check and switch to that? (Thanks amz3!) + (define (time-from-float-or-fraction time) "Produce a (sec . usec) pair from TIME, a float or fraction" (let* ((mixed-whole (floor time))