diff lib/ur/list.urs @ 844:74a1e3bdf430

Fix datatype import bug in Elaborate; fix server-side source setting; more standard library stuff
author Adam Chlipala <adamc@hcoop.net>
date Sun, 07 Jun 2009 16:45:00 -0400
parents 9f0ea203a1ca
children 6725d73c3c31
line wrap: on
line diff
--- a/lib/ur/list.urs	Sun Jun 07 14:15:22 2009 -0400
+++ b/lib/ur/list.urs	Sun Jun 07 16:45:00 2009 -0400
@@ -35,3 +35,6 @@
 val search : a ::: Type -> b ::: Type -> (a -> option b) -> t a -> option b
 
 val all : a ::: Type -> (a -> bool) -> t a -> bool
+
+val app : m ::: (Type -> Type) -> monad m -> a ::: Type
+          -> (a -> m unit) -> t a -> m unit