Add a type for replace-evt

original commit: 7d9f8d5eb31f2bf963b7290d0857be7b409300a7
This commit is contained in:
Asumu Takikawa 2014-07-15 14:14:18 -04:00
parent 62664e000a
commit ac499ccfc6

View File

@ -1345,6 +1345,10 @@
[poll-guard-evt
(-poly (a) (-> (-> -Boolean (-evt a)) (-evt a)))]
[always-evt (-mu x (-evt x))]
[replace-evt (-poly (a b)
(cl->*
(-> (-evt a) (-> a (-evt b)) (-evt b))
(-> (-evt a) (-> a b) (-mu x (-evt x)))))]
[never-evt (-evt (Un))]
[system-idle-evt (-> (-evt -Void))]
[alarm-evt (-> -Real (-mu x (-evt x)))]