seqlua

changeset 18:431fa6946a61

Precedence of __call and __index noted in README
author jbe
date Wed Aug 20 06:47:14 2014 +0200 (2014-08-20)
parents 12a7a8f5a77d
children 2fad7f50076b
files README
line diff
     1.1 --- a/README	Wed Aug 20 06:40:46 2014 +0200
     1.2 +++ b/README	Wed Aug 20 06:47:14 2014 +0200
     1.3 @@ -12,9 +12,10 @@
     1.4    tables and iterator functions with the same statement.
     1.5  
     1.6  This library completely ignores the ``__ipairs`` metamethod (as it is
     1.7 -deprecated since Lua 5.3.0-alpha). It respects, however, any ``__call``
     1.8 -metamethods (this may cause unexpected behavior when passing callable tables
     1.9 -to ``ipairs``).
    1.10 +deprecated since Lua 5.3.0-alpha). It respects, however, any ``__index`` and
    1.11 +``__call`` metamethods (this may cause unexpected behavior when passing
    1.12 +callable tables to ``ipairs``). The ``__call`` metamethod takes precedence over
    1.13 +an existing ``__index`` metamethod.
    1.14  
    1.15  
    1.16  

Impressum / About Us