diff options
Diffstat (limited to 'lib/ur/list.urs')
-rw-r--r-- | lib/ur/list.urs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/ur/list.urs b/lib/ur/list.urs index fb3407ae..28f08317 100644 --- a/lib/ur/list.urs +++ b/lib/ur/list.urs @@ -18,3 +18,8 @@ val mapM : m ::: (Type -> Type) -> monad m -> a ::: Type -> b ::: Type -> (a -> m b) -> list a -> m (list b) val filter : a ::: Type -> (a -> bool) -> t a -> t a + +val exists : a ::: Type -> (a -> bool) -> t a -> bool + +val foldlMap : a ::: Type -> b ::: Type -> c ::: Type + -> (a -> b -> c * b) -> b -> t a -> t c * b |