comparison lib/ur/list.urs @ 916:b873feb3eb52

dragList almost kinda works
author Adam Chlipala <adamc@hcoop.net>
date Tue, 08 Sep 2009 10:18:19 -0400
parents ed06e25c70ef
children eaba663fd6aa
comparison
equal deleted inserted replaced
915:5e8b6fa5b48f 916:b873feb3eb52
5 5
6 val foldl : a ::: Type -> b ::: Type -> (a -> b -> b) -> b -> t a -> b 6 val foldl : a ::: Type -> b ::: Type -> (a -> b -> b) -> b -> t a -> b
7 val foldlAbort : a ::: Type -> b ::: Type -> (a -> b -> option b) -> b -> t a -> option b 7 val foldlAbort : a ::: Type -> b ::: Type -> (a -> b -> option b) -> b -> t a -> option b
8 val foldlMapAbort : a ::: Type -> b ::: Type -> c ::: Type 8 val foldlMapAbort : a ::: Type -> b ::: Type -> c ::: Type
9 -> (a -> b -> option (c * b)) -> b -> t a -> option (t c * b) 9 -> (a -> b -> option (c * b)) -> b -> t a -> option (t c * b)
10
11 val length : a ::: Type -> t a -> int
10 12
11 val rev : a ::: Type -> t a -> t a 13 val rev : a ::: Type -> t a -> t a
12 14
13 val revAppend : a ::: Type -> t a -> t a -> t a 15 val revAppend : a ::: Type -> t a -> t a -> t a
14 16