[ANN] stdlib 31 released

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[ANN] stdlib 31 released

Reuben Thomas-5
I am happy to announce the release of stdlib 31,
General Lua libraries.

This release improves the list module: lists now have methods, list.slice
is renamed to list.sub (the old name is provided as an alias for backwards
compatibility), and all functions that construct a new list return a proper
list, not a table. As a result, it is now often possible to write code that
works on both lists and strings.

Install it as luarock stdlib-31 (see http://luarocks.org/repositories/rocks

Most simply:

  luarocks install stdlib

(You may need to wait a while after this announcement lands before the
rocks are available.)

stdlib's home page is at http://github.com/rrthomas/lua-stdlib/