Mercurial > urweb
view lib/ur/listPair.urs @ 2203:39faa4a037f4
ML half of initial prototype. (Doesn't compile because there's no C yet.)
author | Ziv Scully <ziv@mit.edu> |
---|---|
date | Tue, 25 Mar 2014 02:04:06 -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