aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/ur/monad.urs
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2010-10-19 15:26:12 -0400
committerGravatar Adam Chlipala <adam@chlipala.net>2010-10-19 15:26:12 -0400
commitf7ec390b4c8f0d6173c00b76dafb9e3beb96c75b (patch)
tree3ac10aee93ff012c7e728125e306fa53a6213900 /lib/ur/monad.urs
parent8bfef85c27fc16605ae5bf0e43975904900679c5 (diff)
Monad.appR3
Diffstat (limited to 'lib/ur/monad.urs')
-rw-r--r--lib/ur/monad.urs5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/ur/monad.urs b/lib/ur/monad.urs
index 0bfef87a..d07d5026 100644
--- a/lib/ur/monad.urs
+++ b/lib/ur/monad.urs
@@ -70,3 +70,8 @@ val appR2 : K --> m ::: (Type -> Type) -> monad m
-> tf1 :: (K -> Type) -> tf2 :: (K -> Type)
-> (nm :: Name -> t :: K -> tf1 t -> tf2 t -> m unit)
-> r ::: {K} -> folder r -> $(map tf1 r) -> $(map tf2 r) -> m unit
+
+val appR3 : K --> m ::: (Type -> Type) -> monad m
+ -> tf1 :: (K -> Type) -> tf2 :: (K -> Type) -> tf3 :: (K -> Type)
+ -> (nm :: Name -> t :: K -> tf1 t -> tf2 t -> tf3 t -> m unit)
+ -> r ::: {K} -> folder r -> $(map tf1 r) -> $(map tf2 r) -> $(map tf3 r) -> m unit