diff lib/ur/monad.urs @ 1312:726f0caeea3f

Monad.appR
author Adam Chlipala <adam@chlipala.net>
date Tue, 19 Oct 2010 11:51:53 -0400
parents f0909fb3848f
children 0bf73c3e4563
line wrap: on
line diff
--- a/lib/ur/monad.urs	Tue Oct 19 10:13:24 2010 -0400
+++ b/lib/ur/monad.urs	Tue Oct 19 11:51:53 2010 -0400
@@ -61,6 +61,11 @@
                -> tr []
                -> r ::: {K} -> folder r -> $(map tf r) -> m ($(map tf' r) * tr r)
 
+val appR : K --> m ::: (Type -> Type) -> monad m
+           -> tf :: (K -> Type)
+           -> (nm :: Name -> t :: K -> tf t -> m unit)
+           -> r ::: {K} -> folder r -> $(map tf r) -> m unit
+
 val appR2 : K --> m ::: (Type -> Type) -> monad m
              -> tf1 :: (K -> Type) -> tf2 :: (K -> Type)
              -> (nm :: Name -> t :: K -> tf1 t -> tf2 t -> m unit)