diff options
author | Adam Chlipala <adam@chlipala.net> | 2011-07-22 15:39:38 -0400 |
---|---|---|
committer | Adam Chlipala <adam@chlipala.net> | 2011-07-22 15:39:38 -0400 |
commit | c723667d402b730edc4059cb132587977893b42a (patch) | |
tree | 6656ba1a78bd4eb71c381dc95d2e7b1a8ce6b130 /lib/ur/basis.urs | |
parent | 02d95a3ae4ed3519b082fe49616e493572e68e83 (diff) |
Backpedal on tutorial-motivated urweb-mode changes; add Basis.diffInSeconds and Basis.toSeconds
Diffstat (limited to 'lib/ur/basis.urs')
-rw-r--r-- | lib/ur/basis.urs | 3 |
1 files changed, 3 insertions, 0 deletions
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 |