Commit Graph

4 Commits

Author SHA1 Message Date
7409e20a89 be more consistent and less confusing with dumped object names 2025-03-29 16:23:16 +03:00
1688a712cb provide dir and dir2 functions for listing table keys
Both functions don't expand tables used as keys/values.

`dir(table)` will list `key = value` pairs, but non-recursively.
`dir2(table)` will only list the keys.

These functions return nothing and are to be used only interactively.
2025-03-25 00:28:33 +03:00
86b59e4d08 fix crash on dump because of assumtion that every ref as is_valid 2024-12-11 23:51:27 +03:00
6daaafc721 modify dump() function to work better in repl 2024-12-09 14:05:58 +03:00