view 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 source
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 [] []

val all : a ::: Type -> b ::: Type -> (a -> b -> bool) -> list a -> list b -> bool