terse_alias_define
Define a session alias that expands to a reusable Terse form, so repeated subtrees can be written once and referenced with a short $alias.
Instructions
Define a session macro: $alias expands to the given Terse form everywhere it appears as a variable afterwards. Define a repeated subtree once, then write $alias (1-2 tokens) instead of the full form. $names are reserved for aliases — do not bind them with let/def/fn.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alias | Yes | Alias name, e.g. $1. | |
| expansion | Yes | Terse source the alias expands to. |