# HG changeset patch # User jbe # Date 1408928672 -7200 # Node ID acc53a77fdc929c0b2b6486b655e63977c453af8 # Parent adf671e3458c4e2bd0278b1607699477d91cb08f Minor changes in introduction of README diff -r adf671e3458c -r acc53a77fdc9 README --- a/README Mon Aug 25 02:52:47 2014 +0200 +++ b/README Mon Aug 25 03:04:32 2014 +0200 @@ -3,12 +3,12 @@ This is an experimental package to extend Lua in the following manner: -* allow ``ipairs(seq)`` to accept tables as well as functions (i.e function - iterators), -* add a new function ``string.concat(separator, seq)`` to concat either +* allow ``ipairs(seq)`` to accept either tables or functions (i.e function + iterators) as an argument, +* add a new function ``string.concat(separator, seq)`` that concats either table entries or function return values, * provide auxiliary C functions and macros to simplify iterating over both - tables and iterator functions with the same statement. + tables and iterator functions with a generic statement. Existing ``__ipairs`` or ``__index`` (but not ``__len``) metamethods are respected by both the Lua functions and the C functions and macros. The