Mercurial > urweb
annotate lib/ur/listPair.urs @ 1287:5137b0537c92
Polymorphic variants
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Thu, 19 Aug 2010 17:28:52 -0400 |
parents | 1c2f335297b7 |
children | 5c30eea7aa78 |
rev | line source |
---|---|
adamc@850 | 1 val foldlAbort : a ::: Type -> b ::: Type -> c ::: Type |
adamc@850 | 2 -> (a -> b -> c -> option c) -> c -> list a -> list b -> option c |
adamc@846 | 3 |
adamc@801 | 4 val mapX : a ::: Type -> b ::: Type -> ctx ::: {Unit} |
adamc@801 | 5 -> (a -> b -> xml ctx [] []) -> list a -> list b -> xml ctx [] [] |
adamc@844 | 6 |
adamc@844 | 7 val all : a ::: Type -> b ::: Type -> (a -> b -> bool) -> list a -> list b -> bool |