mirror of
https://github.com/1bardesign/batteries.git
synced 2024-11-29 16:24:35 +00:00
[fixed] sequence:reduce typo
This commit is contained in:
parent
55d9980512
commit
e1f759cb90
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user