From 2a3c1338de7df338da42bf52fcff6190ee758082 Mon Sep 17 00:00:00 2001 From: Emik Date: Sat, 28 Feb 2026 16:11:39 +0100 Subject: [PATCH] Fix range enumeration --- src/lib/funky.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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