std.tbl.merge

std.tbl

merge(defaults, options) -> merged

Deep merge an options table into a defaults table

Recursively merges options into defaults. When both values for a key are tables, they are merged recursively. Otherwise the option value overwrites the default. Modifies and returns defaults.