diff lib/ur/list.urs @ 2095:d9f918b79b5a

List.mem
author Adam Chlipala <adam@chlipala.net>
date Tue, 23 Dec 2014 14:41:23 -0500
parents 146ec8e90063
children
line wrap: on
line diff
--- a/lib/ur/list.urs	Tue Dec 23 13:42:20 2014 -0500
+++ b/lib/ur/list.urs	Tue Dec 23 14:41:23 2014 -0500
@@ -54,6 +54,8 @@
 val foldlMap : a ::: Type -> b ::: Type -> c ::: Type
                -> (a -> b -> c * b) -> b -> t a -> t c * b
 
+val mem : a ::: Type -> eq a -> a -> t a -> bool
+
 val find : a ::: Type -> (a -> bool) -> t a -> option a
 
 val search : a ::: Type -> b ::: Type -> (a -> option b) -> t a -> option b