Mercurial > gui
view timer.ur @ 5:4385bc6a0d2d
Some Datebox functions related to dates
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Thu, 10 Feb 2011 12:39:20 -0500 |
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