@@ -198,8 +198,12 @@ replicate (S k) x = x :: replicate k x
198198-- Zips and unzips
199199--------------------------------------------------------------------------------
200200
201−||| Combine two equal-length vectors pairwise with some function
202−zipWith : (a -> b -> c) -> Vect n a -> Vect n b -> Vect n c
201+||| Combine two equal-length vectors pairwise with some function.
202+|||
203+||| @ f the function to combine elements with
204+||| @ xs the first vector of elements
205+||| @ ys the second vector of elements
206+zipWith : (f : a -> b -> c) -> (xs : Vect n a) -> (ys : Vect n b) -> Vect n c
203207zipWith f [] [] = []
204208zipWith f (x::xs) (y::ys) = f x y :: zipWith f xs ys
205209