Mercurial > gui
view clock.urs @ 18:16447dc6a68c
Introduction of multi-parameter type class for gui components
author | Ron de Bruijn <rmbruijn@gmail.com> |
---|---|
date | Thu, 22 Sep 2011 19:24:01 +0200 |
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