summaryrefslogtreecommitdiff
path: root/lib/ur/list.urs
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2009-06-16 17:52:44 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2009-06-16 17:52:44 -0400
commit167258efc314f978a4cd5f248b8d3df2f36f9d6d (patch)
tree03a63951b832edfdb7a5c7cb9c05345c0f097248 /lib/ur/list.urs
parentb93aa3fc0a1aebc3be9e9a69f926eae0300ba253 (diff)
Fix a variable capture bug in nested JavaScript; some more list stuff
Diffstat (limited to 'lib/ur/list.urs')
-rw-r--r--lib/ur/list.urs4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/ur/list.urs b/lib/ur/list.urs
index f5495d41..1b0fced9 100644
--- a/lib/ur/list.urs
+++ b/lib/ur/list.urs
@@ -4,7 +4,9 @@ val show : a ::: Type -> show a -> show (t a)
val eq : a ::: Type -> eq a -> eq (t a)
val foldl : a ::: Type -> b ::: Type -> (a -> b -> b) -> b -> t a -> b
-val foldlPartial : a ::: Type -> b ::: Type -> (a -> b -> option b) -> b -> t a -> option b
+val foldlAbort : a ::: Type -> b ::: Type -> (a -> b -> option b) -> b -> t a -> option b
+val foldlMapAbort : a ::: Type -> b ::: Type -> c ::: Type
+ -> (a -> b -> option (c * b)) -> b -> t a -> option (t c * b)
val rev : a ::: Type -> t a -> t a