aboutsummaryrefslogtreecommitdiff
path: root/containers.lua
diff options
context:
space:
mode:
Diffstat (limited to 'containers.lua')
-rw-r--r--containers.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/containers.lua b/containers.lua
index 93a8705..365fa4d 100644
--- a/containers.lua
+++ b/containers.lua
@@ -226,6 +226,12 @@ local _list_mt = {
return _accum_0
end)())
end,
+ from = function(self, start)
+ return self:from_1_to(start, -1)
+ end,
+ up_to = function(self, stop)
+ return self:from_1_to(1, stop)
+ end,
copy = function(self)
return List((function()
local _accum_0 = { }