Implement push command

This commit is contained in:
2026-07-07 09:22:22 -05:00
parent faf3a16767
commit e728c3fdfa
4 changed files with 39 additions and 1 deletions

View File

@@ -314,6 +314,10 @@ Example: Say `$a` is `[1, 2, 3]` and subject is `[a, b, c]` -> `zip $a` -> `[a,
Collapse a nested destructured string down a single level, optionally limiting to a specific `index`.
Example: `[[a,b], c, [d,e]]` -> `flatten 2` -> `[[a,b], c, d, e]`
#### `push <value>`
Append the given `value` to the current destructured.
Example: `[foo, bar]` -> `push foo` -> `[foo, bar, foo]`
### Working with Variables