lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

> Could this be rewritten as:
[snip snip]
>                        if s == state then

It seems like it since "sequence operators" cannot, in the current
form, adjust either the initial state or key.  (They could in my first
post from about two weeks ago.)  In the (handful) of examples I've
been playing with it seems that dragging the state and key along is
more of a pain than anything else.

Good catch  :-)