diff options
author | 2009-05-14 13:18:31 -0400 | |
---|---|---|
committer | 2009-05-14 13:18:31 -0400 | |
commit | df3de8503f41b7f317167273e636cd722ba31bc1 (patch) | |
tree | 2d38397e8bfd910828e32184e9adbda761b1ae84 /lib/ur/list.urs | |
parent | e6dd56d42a28138bcd9fdea52d0b232839c298dc (diff) |
Proper lifting of MonoEnv stored expressions; avoidance of onchange clobbering
Diffstat (limited to 'lib/ur/list.urs')
-rw-r--r-- | lib/ur/list.urs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/ur/list.urs b/lib/ur/list.urs index e9e097d4..d27ad997 100644 --- a/lib/ur/list.urs +++ b/lib/ur/list.urs @@ -7,3 +7,6 @@ val rev : a ::: Type -> t a -> t a val mp : a ::: Type -> b ::: Type -> (a -> b) -> t a -> t b val mapX : a ::: Type -> ctx ::: {Unit} -> (a -> xml ctx [] []) -> t a -> xml ctx [] [] + +val mapM : m ::: (Type -> Type) -> monad m -> a ::: Type -> b ::: Type + -> (a -> m b) -> list a -> m (list b) |