Mercurial > gui
view clock.urs @ 32:d32fb0f7b137
Update for Ur/Web's new type class handling
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Sun, 29 Jul 2012 12:28:46 -0400 |
parents | 0337f88f2efc |
children |
line wrap: on
line source
(** Reactive view of the current time *) type t val create : int -> transaction t (* Specify the clock resolution, in milliseconds. *) val start : t -> transaction {} (* Call this in client-side code (e.g., 'onload' handler) to begin. *) val signal : t -> signal time