Table Goodies

Image placeholder

Description

table_goodies 🔗

This is a small package for extra (can't live without) functions for working with tables.

This includes:

  • table.equals(t1, t2) -> bool, a recursive (deep) equality function
  • table.merge(t1, t2, ...) -> t1, a table merging function (t2 -> t1)
  • table.map(t, f) -> t, a mapping (apply f to every value) function

Why? 🔗

Because Lua needs more atomic modules which add functionality without creating a huge library. This module is supposed to be dead-simple to grab and start using in your project without adding anything extra. One of Lua's strengths is minimalism, and I think that it's ecosystem would do well to mirror that.

Reviews

Review

Do you recommend this mod?

  • No reviews, yet.

Releases

All releases

Threads

New thread

Thread Last Reply

No threads found

Information

Provides

table_goodies

Dependencies

Required
No required dependencies

Information

Type
Mod
Technical Name
table_goodies
Languages
English
License
CC0-1.0
Maintenance State
Actively Developed
Added
2022-01-26 23:00 UTC
Maintainers
benrob0329