diff options
author | Adam Chlipala <adam@chlipala.net> | 2018-08-25 18:26:33 -0400 |
---|---|---|
committer | Adam Chlipala <adam@chlipala.net> | 2018-08-25 18:26:33 -0400 |
commit | 7eec6f5c0d702323bd735e2184ff74f27ad37d17 (patch) | |
tree | cc74a9a1a9add8b8caf48d6574f40180db99c3c9 /lib/ur/list.urs | |
parent | 0e41b2ab9485f46c4303be46d41e39203eeb7138 (diff) |
List.allM
Diffstat (limited to 'lib/ur/list.urs')
-rw-r--r-- | lib/ur/list.urs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ur/list.urs b/lib/ur/list.urs index fe730152..f4593dda 100644 --- a/lib/ur/list.urs +++ b/lib/ur/list.urs @@ -66,6 +66,8 @@ val search : a ::: Type -> b ::: Type -> (a -> option b) -> t a -> option b val all : a ::: Type -> (a -> bool) -> t a -> bool +val allM : m ::: (Type -> Type) -> monad m -> a ::: Type -> (a -> m bool) -> t a -> m bool + val app : m ::: (Type -> Type) -> monad m -> a ::: Type -> (a -> m unit) -> t a -> m unit |