Mercurial > gui
view sourceL.urs @ 25:a037ed3854e3
Change time format to work portably in JavaScript
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Sun, 04 Dec 2011 16:33:48 -0500 |
parents | 8300d5f0dc19 |
children |
line wrap: on
line source
(* Reactive sources that accept change listeners *) con t :: Type -> Type val create : a ::: Type -> a -> transaction (t a) val onChange : a ::: Type -> t a -> (a -> transaction {}) -> transaction {} val set : a ::: Type -> t a -> a -> transaction {} val get : a ::: Type -> t a -> transaction a val value : a ::: Type -> t a -> signal a