Mercurial > gui
view timer.ur @ 29:93140c5cc972
Clean up dependencies and examples; add Style module
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Sat, 12 May 2012 10:03:44 -0400 |
parents | 37eefd0a2ed4 |
children |
line wrap: on
line source
type t = source bool fun create r = b <- source False; spawn (sleep r.Milliseconds; b <- get b; if b then return () else r.Action); return b fun cancel b = set b True