Re: How to define ranges for tables?
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: How to define ranges for tables?
- From: Javier Guerra Giraldez <javier@...>
- Date: Sat, 9 Oct 2021 22:45:44 -0500
On Sat, 9 Oct 2021 at 16:36, Jasper Klein <jasper@klein.re> wrote:
> * Which option do you like most for usage in an API?
> * What would you do to define a range in Lua?
3) use "for-like" syntax: range(t, i, j [, step]) where i and j are
"inclusive" and step defaults to 1
--
Javier