Mercurial > urweb
diff lib/ur/list.urs @ 843:9f0ea203a1ca
List.all; fix ANDALSO/ORELSE parsing precedence
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Sun, 07 Jun 2009 14:15:22 -0400 |
parents | e4a02e4fa35c |
children | 74a1e3bdf430 |
line wrap: on
line diff
--- a/lib/ur/list.urs Sun Jun 07 12:01:55 2009 -0400 +++ b/lib/ur/list.urs Sun Jun 07 14:15:22 2009 -0400 @@ -33,3 +33,5 @@ val assoc : a ::: Type -> b ::: Type -> eq a -> a -> t (a * b) -> option b val search : a ::: Type -> b ::: Type -> (a -> option b) -> t a -> option b + +val all : a ::: Type -> (a -> bool) -> t a -> bool