diff --git a/src/lib/funky.lua b/src/lib/funky.lua index 4b9e571..4b0fca2 100644 --- a/src/lib/funky.lua +++ b/src/lib/funky.lua @@ -137,7 +137,7 @@ function f.from(tbl, fpairs, step) end return f.new(function() - local iv = tbl + ik * (step or 1) + local iv = start + ik * (step or 1) ik = ik + 1 if start > stop and iv >= stop or