seqlua
diff README @ 38:acc53a77fdc9
Minor changes in introduction of README
author | jbe |
---|---|
date | Mon Aug 25 03:04:32 2014 +0200 (2014-08-25) |
parents | adf671e3458c |
children | 40de0fd016c4 |
line diff
1.1 --- a/README Mon Aug 25 02:52:47 2014 +0200 1.2 +++ b/README Mon Aug 25 03:04:32 2014 +0200 1.3 @@ -3,12 +3,12 @@ 1.4 1.5 This is an experimental package to extend Lua in the following manner: 1.6 1.7 -* allow ``ipairs(seq)`` to accept tables as well as functions (i.e function 1.8 - iterators), 1.9 -* add a new function ``string.concat(separator, seq)`` to concat either 1.10 +* allow ``ipairs(seq)`` to accept either tables or functions (i.e function 1.11 + iterators) as an argument, 1.12 +* add a new function ``string.concat(separator, seq)`` that concats either 1.13 table entries or function return values, 1.14 * provide auxiliary C functions and macros to simplify iterating over both 1.15 - tables and iterator functions with the same statement. 1.16 + tables and iterator functions with a generic statement. 1.17 1.18 Existing ``__ipairs`` or ``__index`` (but not ``__len``) metamethods are 1.19 respected by both the Lua functions and the C functions and macros. The