comparison lib/ur/list.urs @ 840:e4a02e4fa35c

Fix unbound name problem in Jscomp injectors; more List stuff
author Adam Chlipala <adamc@hcoop.net>
date Sat, 06 Jun 2009 15:29:34 -0400
parents b2413e4dd109
children 9f0ea203a1ca
comparison
equal deleted inserted replaced
839:b2413e4dd109 840:e4a02e4fa35c
22 22
23 val filter : a ::: Type -> (a -> bool) -> t a -> t a 23 val filter : a ::: Type -> (a -> bool) -> t a -> t a
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 foldlM : m ::: (Type -> Type) -> monad m -> a ::: Type -> b ::: Type
28 -> (a -> b -> m b) -> b -> t a -> m b
29
27 val foldlMap : a ::: Type -> b ::: Type -> c ::: Type 30 val foldlMap : a ::: Type -> b ::: Type -> c ::: Type
28 -> (a -> b -> c * b) -> b -> t a -> t c * b 31 -> (a -> b -> c * b) -> b -> t a -> t c * b
29 32
30 val assoc : a ::: Type -> b ::: Type -> eq a -> a -> t (a * b) -> option b 33 val assoc : a ::: Type -> b ::: Type -> eq a -> a -> t (a * b) -> option b
31 34