annotate lib/ur/listPair.urs @ 2013:77cc9169d6e0
Change context-local memory allocation to return word-aligned addresses (based on patch by Evan Danaher)
author |
Adam Chlipala <adam@chlipala.net> |
date |
Sun, 18 May 2014 18:58:50 -0400 |
parents |
8297968cf7ef |
children |
|
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
|
adam@1884
|
8
|
adam@1885
|
9 val mp : a ::: Type -> b ::: Type -> c ::: Type
|
adam@1885
|
10 -> (a -> b -> c) -> list a -> list b -> list c
|