From e1f759cb90e38b77cffbc7d2056d3992d4e4f13b Mon Sep 17 00:00:00 2001 From: Max Cahill <1bardesign@gmail.com> Date: Tue, 7 Apr 2020 16:19:38 +1000 Subject: [PATCH] [fixed] sequence:reduce typo --- sequence.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sequence.lua b/sequence.lua index 7b3d250..029212c 100644 --- a/sequence.lua +++ b/sequence.lua @@ -42,7 +42,7 @@ function sequence:foreach(f) end function sequence:reduce(f, o) - return functional.foreach(self, f, o) + return functional.reduce(self, f, o) end function sequence:map(f)