aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/ur/monad.urs
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2009-09-08 10:55:49 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2009-09-08 10:55:49 -0400
commit33dbb6c0000a5d82267f984191e7390be86b7dfd (patch)
tree7d2a84baa2e21562b0754815824f223d61a6621a /lib/ur/monad.urs
parentd07c91bf275874a5f6f13af5f338def78eea7ae0 (diff)
dragList demo working, save for Gecko load delay and highlighting
Diffstat (limited to 'lib/ur/monad.urs')
-rw-r--r--lib/ur/monad.urs3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/ur/monad.urs b/lib/ur/monad.urs
index f64e2362..27fe255f 100644
--- a/lib/ur/monad.urs
+++ b/lib/ur/monad.urs
@@ -4,6 +4,9 @@ val exec : m ::: (Type -> Type) -> monad m -> ts ::: {Type}
val ignore : m ::: (Type -> Type) -> monad m -> t ::: Type
-> m t -> m unit
+val mp : m ::: (Type -> Type) -> monad m -> a ::: Type -> b ::: Type
+ -> (a -> b) -> m a -> m b
+
val foldR : K --> m ::: (Type -> Type) -> monad m
-> tf :: (K -> Type)
-> tr :: ({K} -> Type)