[fixed] sequence:reduce typo

This commit is contained in:
Max Cahill 2020-04-07 16:19:38 +10:00
parent 55d9980512
commit e1f759cb90

View File

@ -42,7 +42,7 @@ function sequence:foreach(f)
end end
function sequence:reduce(f, o) function sequence:reduce(f, o)
return functional.foreach(self, f, o) return functional.reduce(self, f, o)
end end
function sequence:map(f) function sequence:map(f)