view lib/ur/listPair.urs @ 1925:15802a00816c

activeHead: don't modify the head. just execute the code provided
author Sergey Mironov <grrwlf@gmail.com>
date Fri, 06 Dec 2013 14:52:47 +0400
parents 8297968cf7ef
children
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

val mp : a ::: Type -> b ::: Type -> c ::: Type
         -> (a -> b -> c) -> list a -> list b -> list c