Mercurial > urweb
comparison lib/ur/list.urs @ 850:1c2f335297b7
Fix a variable capture bug in nested JavaScript; some more list stuff
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Tue, 16 Jun 2009 17:52:44 -0400 |
parents | 0d30e6338c65 |
children | ed06e25c70ef |
comparison
equal
deleted
inserted
replaced
849:e571fb150a9f | 850:1c2f335297b7 |
---|---|
2 | 2 |
3 val show : a ::: Type -> show a -> show (t a) | 3 val show : a ::: Type -> show a -> show (t a) |
4 val eq : a ::: Type -> eq a -> eq (t a) | 4 val eq : a ::: Type -> eq a -> eq (t a) |
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 foldlPartial : 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 | |
9 -> (a -> b -> option (c * b)) -> b -> t a -> option (t c * b) | |
8 | 10 |
9 val rev : a ::: Type -> t a -> t a | 11 val rev : a ::: Type -> t a -> t a |
10 | 12 |
11 val revAppend : a ::: Type -> t a -> t a -> t a | 13 val revAppend : a ::: Type -> t a -> t a -> t a |
12 | 14 |