From 8c2eb37e99b79153a98fbdebce39b4064dcdb2e9 Mon Sep 17 00:00:00 2001 From: Adam Chlipala Date: Tue, 16 Jun 2009 17:52:44 -0400 Subject: Fix a variable capture bug in nested JavaScript; some more list stuff --- lib/ur/list.urs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/ur/list.urs') 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 -- cgit v1.2.3