comparison lib/ur/list.urs @ 839:b2413e4dd109

List library additions; fix another substructure unification bug
author Adam Chlipala <adamc@hcoop.net>
date Sat, 06 Jun 2009 14:09:30 -0400
parents d07980bf1444
children e4a02e4fa35c
comparison
equal deleted inserted replaced
838:5154a047c6bc 839:b2413e4dd109
24 24
25 val exists : a ::: Type -> (a -> bool) -> t a -> bool 25 val exists : a ::: Type -> (a -> bool) -> t a -> bool
26 26
27 val foldlMap : a ::: Type -> b ::: Type -> c ::: Type 27 val foldlMap : a ::: Type -> b ::: Type -> c ::: Type
28 -> (a -> b -> c * b) -> b -> t a -> t c * b 28 -> (a -> b -> c * b) -> b -> t a -> t c * b
29
30 val assoc : a ::: Type -> b ::: Type -> eq a -> a -> t (a * b) -> option b
31
32 val search : a ::: Type -> b ::: Type -> (a -> option b) -> t a -> option b