comparison lib/ur/listPair.urs @ 1884:5c30eea7aa78

ListPair.map2, based on code by escalier@riseup.net
author Adam Chlipala <adam@chlipala.net>
date Sun, 03 Nov 2013 19:27:30 -0500
parents 1c2f335297b7
children 8297968cf7ef
comparison
equal deleted inserted replaced
1883:5125b1df6045 1884:5c30eea7aa78
3 3
4 val mapX : a ::: Type -> b ::: Type -> ctx ::: {Unit} 4 val mapX : a ::: Type -> b ::: Type -> ctx ::: {Unit}
5 -> (a -> b -> xml ctx [] []) -> list a -> list b -> xml ctx [] [] 5 -> (a -> b -> xml ctx [] []) -> list a -> list b -> xml ctx [] []
6 6
7 val all : a ::: Type -> b ::: Type -> (a -> b -> bool) -> list a -> list b -> bool 7 val all : a ::: Type -> b ::: Type -> (a -> b -> bool) -> list a -> list b -> bool
8
9 val map2 : a ::: Type -> b ::: Type -> c ::: Type
10 -> (a -> b -> c) -> list a -> list b -> list c