@@ -260,10 +260,13 @@ concat : Vect m (Vect n a) -> Vect (m * n) a
260260concat [] = []
261261concat (v::vs) = v ++ concat vs
262262
263−||| Fold without seeding the accumulator
263+||| Foldr without seeding the accumulator
264264foldr1 : (t -> t -> t) -> Vect (S n) t -> t
265265foldr1 f (x::xs) = foldr f x xs
266266
267+||| Foldl without seeding the accumulator
268+foldl1 : (t -> t -> t) -> Vect (S n) t -> t
269+foldl1 f (x::xs) = foldl f x xs
267270--------------------------------------------------------------------------------
268271-- Scans
269272--------------------------------------------------------------------------------