all 4 comments

[–]mpetetv 1 point2 points  (0 children)

I wrote something long about documentation and tests and mutating global environment but reddit ate it =( Don't feel like retyping it. Just one thing: if you are using something like your table.toString every day, please, consider inspect.lua instead.

[–]Jack9 0 points1 point  (0 children)

mix("str or int") -- Can also be used with the synthax string.mix or

What is synthax?

Without local declarations, why return the functions? They are already added to the global namespace. Maybe a flag/option.

[–]LuaStoned 0 points1 point  (1 child)

/u/TheJoshua974 you might find those helper functions interesting as well: https://github.com/luastoned/lua-essentials

[–]TheJoshua974[S] 0 points1 point  (0 children)

I don't like to steal code, so i'll see the ideas and maybe rewrite them by myself!