diff options
author | Adam Chlipala <adam@chlipala.net> | 2018-12-31 14:48:16 -0500 |
---|---|---|
committer | Adam Chlipala <adam@chlipala.net> | 2018-12-31 14:48:16 -0500 |
commit | 4ada57be570bfbe18137c5b37ed5e0d327de82db (patch) | |
tree | 94781877bfd974d64ba9fc4d6fd223e4125c29b9 /lib/ur/listPair.urs | |
parent | 7340651c636cb3fc1fde05cb4ae0db95e6716f2c (diff) |
ListPair.mapM
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 b473e226..9efff405 100644 --- a/lib/ur/listPair.urs +++ b/lib/ur/listPair.urs @@ -8,3 +8,6 @@ val all : a ::: Type -> b ::: Type -> (a -> b -> bool) -> list a -> list b -> bo val mp : a ::: Type -> b ::: Type -> c ::: Type -> (a -> b -> c) -> list a -> list b -> list c + +val mapM : m ::: (Type -> Type) -> monad m -> a ::: Type -> b ::: Type -> c ::: Type + -> (a -> b -> m c) -> list a -> list b -> m (list c) |