From c723667d402b730edc4059cb132587977893b42a Mon Sep 17 00:00:00 2001 From: Adam Chlipala Date: Fri, 22 Jul 2011 15:39:38 -0400 Subject: Backpedal on tutorial-motivated urweb-mode changes; add Basis.diffInSeconds and Basis.toSeconds --- lib/ur/basis.urs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/ur/basis.urs') diff --git a/lib/ur/basis.urs b/lib/ur/basis.urs index b60610cd..cabac068 100644 --- a/lib/ur/basis.urs +++ b/lib/ur/basis.urs @@ -145,6 +145,9 @@ val current : t ::: Type -> signal t -> transaction t val now : transaction time val minTime : time val addSeconds : time -> int -> time +val toSeconds : time -> int +val diffInSeconds : time -> time -> int +(* Earlier time first *) val timef : string -> time -> string (* Uses strftime() format string *) val readUtc : string -> option time -- cgit v1.2.3