Mercurial > urweb
diff lib/ur/listPair.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 | 5c30eea7aa78 |
line wrap: on
line diff
--- a/lib/ur/listPair.urs Tue Jun 16 14:38:01 2009 -0400 +++ b/lib/ur/listPair.urs Tue Jun 16 17:52:44 2009 -0400 @@ -1,5 +1,5 @@ -val foldlPartial : a ::: Type -> b ::: Type -> c ::: Type - -> (a -> b -> c -> option c) -> c -> list a -> list b -> option c +val foldlAbort : a ::: Type -> b ::: Type -> c ::: Type + -> (a -> b -> c -> option c) -> c -> list a -> list b -> option c val mapX : a ::: Type -> b ::: Type -> ctx ::: {Unit} -> (a -> b -> xml ctx [] []) -> list a -> list b -> xml ctx [] []