aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/ur/list.urs
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ur/list.urs')
-rw-r--r--lib/ur/list.urs2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ur/list.urs b/lib/ur/list.urs
index 37cbe442..fe730152 100644
--- a/lib/ur/list.urs
+++ b/lib/ur/list.urs
@@ -60,6 +60,8 @@ val mem : a ::: Type -> eq a -> a -> t a -> bool
val find : a ::: Type -> (a -> bool) -> t a -> option a
+val findM : m ::: (Type -> Type) -> monad m -> a ::: Type -> (a -> m bool) -> t a -> m (option a)
+
val search : a ::: Type -> b ::: Type -> (a -> option b) -> t a -> option b
val all : a ::: Type -> (a -> bool) -> t a -> bool