diff options
author | Adam Chlipala <adam@chlipala.net> | 2010-10-17 13:26:11 -0400 |
---|---|---|
committer | Adam Chlipala <adam@chlipala.net> | 2010-10-17 13:26:11 -0400 |
commit | 0e953baf0594e5107df747bb611e34a4d63064b5 (patch) | |
tree | 92cc696c1a66e0e4a5bf035bdbe704a9d4edb155 /lib/ur/monad.urs | |
parent | dc136c3a267dafb7ba1fb0acbc4a76d5430bc00d (diff) |
Simplify type of Monad.appR2
Diffstat (limited to 'lib/ur/monad.urs')
-rw-r--r-- | lib/ur/monad.urs | 4 |
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 |