From 41cd154483d45c5d2fb0abf392b9bdc63d42b94e Mon Sep 17 00:00:00 2001 From: Adam Chlipala Date: Wed, 25 Jan 2017 15:55:14 -0500 Subject: List.appi --- lib/ur/list.urs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/ur/list.urs') diff --git a/lib/ur/list.urs b/lib/ur/list.urs index 432d8c1a..fd56679d 100644 --- a/lib/ur/list.urs +++ b/lib/ur/list.urs @@ -65,6 +65,9 @@ val all : a ::: Type -> (a -> bool) -> t a -> bool val app : m ::: (Type -> Type) -> monad m -> a ::: Type -> (a -> m unit) -> t a -> m unit +val appi : m ::: (Type -> Type) -> monad m -> a ::: Type + -> (int -> a -> m unit) -> t a -> m unit + val tabulateM : m ::: (Type -> Type) -> monad m -> a ::: Type -> (int -> m a) -> int -> m (t a) -- cgit v1.2.3