@@ -62,8 +62,12 @@ index : Nat -> Stream a -> a
62index Z (x::xs) = x
62index Z (x::xs) = x
63index (S k) (x::xs) = index k xs
63index (S k) (x::xs) = index k xs
65−||| Combine two streams element-wise using a function
65+||| Combine two streams element-wise using a function.
67+||| @ f the function to combine elements with
68+||| @ xs the first stream of elements
69+||| @ ys the second stream of elements
66−zipWith : (a -> b -> c) -> Stream a -> Stream b -> Stream c
70+zipWith : (f : a -> b -> c) -> (xs : Stream a) -> (ys : Stream b) -> Stream c
67zipWith f (x::xs) (y::ys) = f x y :: zipWith f xs ys
71zipWith f (x::xs) (y::ys) = f x y :: zipWith f xs ys
69||| Combine three streams by applying a function element-wise along them
73||| Combine three streams by applying a function element-wise along them