diff options
author | Adam Chlipala <adamc@hcoop.net> | 2009-06-09 18:11:59 -0400 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2009-06-09 18:11:59 -0400 |
commit | b7de8e9ac590f9d06df72d22489375b33a6efef9 (patch) | |
tree | fdefe678f8d11c1efad8dbe6d535da8ccb531f59 /lib/ur/listPair.urs | |
parent | 4c8297c1f381599333e998da585f4ef5ac24383b (diff) |
Some standard library reorgs and additions; handle mutual datatypes better in Specialize
Diffstat (limited to 'lib/ur/listPair.urs')
-rw-r--r-- | lib/ur/listPair.urs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/ur/listPair.urs b/lib/ur/listPair.urs index 0c5e5443..310a1a4e 100644 --- a/lib/ur/listPair.urs +++ b/lib/ur/listPair.urs @@ -1,3 +1,6 @@ +val foldlPartial : 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 [] [] |