aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/ur/monad.urs
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2010-10-17 13:26:11 -0400
committerGravatar Adam Chlipala <adam@chlipala.net>2010-10-17 13:26:11 -0400
commit25838bc2eb221b82151c648473b3528e3a4e4e9d (patch)
tree92cc696c1a66e0e4a5bf035bdbe704a9d4edb155 /lib/ur/monad.urs
parentd15954cc4756d7ae630f36d5b72f9fbbd864b681 (diff)
Simplify type of Monad.appR2
Diffstat (limited to 'lib/ur/monad.urs')
-rw-r--r--lib/ur/monad.urs4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/ur/monad.urs b/lib/ur/monad.urs
index 7bac8756..be3b59ab 100644
--- a/lib/ur/monad.urs
+++ b/lib/ur/monad.urs
@@ -63,7 +63,5 @@ val foldMapR : K --> m ::: (Type -> Type) -> monad m
val appR2 : K --> m ::: (Type -> Type) -> monad m
-> tf1 :: (K -> Type) -> tf2 :: (K -> Type)
- -> (nm :: Name -> t :: K -> rest :: {K}
- -> [[nm] ~ rest] =>
- tf1 t -> tf2 t -> m unit)
+ -> (nm :: Name -> t :: K -> tf1 t -> tf2 t -> m unit)
-> r ::: {K} -> folder r -> $(map tf1 r) -> $(map tf2 r) -> m unit