3 ms·
Is this similar to the functools package in Python? If so, that would certainly convince me to use Lua for some of what I use Python for.
by eliteraspberrie 13y ago
Is this similar to the functools package in Python? If so, that would certainly convince me to use Lua for some of what I use Python for.
- jt884 13y agoYou should use it for all of what you use Python for. Python is a sinking language, that has taken too much input from a community of bikeshedders, to the point it can barely move. LuaJIT makes PyPy look like a high school technology project.
- rtsisyk 13y agoYeah, the library has some common functions with "itertools" Python's module [1]. fun.range syntax was even copied from Python's range. What is more, you can also take a look on Haskell's Data.List [2] or StandardML's List [3] packages. [1] http://docs.python.org/2/library/itertools.html http://docs.python.org/2/library/itertools.html [2] http://hackage.haskell.org/package/base-4.6.0.1/docs/Data-List.html http://hackage.haskell.org/package/base-4.6.0.1/docs/Data-Li... [3] http://www.standardml.org/Basis/list.html http://www.standardml.org/Basis/list.html