comparison lib/ur/list.urs @ 800:e92cfac1608f

Proper lifting of MonoEnv stored expressions; avoidance of onchange clobbering
author Adam Chlipala <adamc@hcoop.net>
date Thu, 14 May 2009 13:18:31 -0400
parents 6271f0e3c272
children 395a5d450cc0
comparison
equal deleted inserted replaced
799:9330ba3a2799 800:e92cfac1608f
5 val rev : a ::: Type -> t a -> t a 5 val rev : a ::: Type -> t a -> t a
6 6
7 val mp : a ::: Type -> b ::: Type -> (a -> b) -> t a -> t b 7 val mp : a ::: Type -> b ::: Type -> (a -> b) -> t a -> t b
8 8
9 val mapX : a ::: Type -> ctx ::: {Unit} -> (a -> xml ctx [] []) -> t a -> xml ctx [] [] 9 val mapX : a ::: Type -> ctx ::: {Unit} -> (a -> xml ctx [] []) -> t a -> xml ctx [] []
10
11 val mapM : m ::: (Type -> Type) -> monad m -> a ::: Type -> b ::: Type
12 -> (a -> m b) -> list a -> m (list b)