diff lib/ur/monad.urs @ 917:321a2d6feb40

dragList demo working, save for Gecko load delay and highlighting
author Adam Chlipala <adamc@hcoop.net>
date Tue, 08 Sep 2009 10:55:49 -0400
parents 8e540df3294d
children 37dd42935dad
line wrap: on
line diff
--- a/lib/ur/monad.urs	Tue Sep 08 10:18:19 2009 -0400
+++ b/lib/ur/monad.urs	Tue Sep 08 10:55:49 2009 -0400
@@ -4,6 +4,9 @@
 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)