Mercurial > urweb
view lib/ur/listPair.urs @ 2063:83bdb52962c9
Check realloc's return code to prevent segfault on out of memoty condition
author | Sergey Mironov <grrwlf@gmail.com> |
---|---|
date | Sat, 23 Aug 2014 11:59:34 +0000 |
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