lua-users home
lua-l archive

[ANN] Cratable - Extended table module for Cratera

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


Repo: https://bitbucket.org/TeamSoni/cratable
License: MIT license
Cratable is an extended table module for Cratera. It uses Cratera traits to provide OOP tables in a minimally intrusive way:
require "cratable"
local t = table()
t:[table].insert("Hello")
t:[table].insert("World!")
print(t:[table].concat(", ")) --> Hello, World!
As with most forms of OOP, this can be overriden on a per-object basis. Check out the repo for more details.
Let me know what you think!
--
Disclaimer: these emails may be made public at any given time, with or without reason. If you don't agree with this, DO NOT REPLY.

AltStyle によって変換されたページ (->オリジナル) /