Dyalog / link

Source code for Link – the built-in component that enables the use of text files as the primary storage mechanism for APL source code
https://dyalog.github.io/link
MIT License
19 stars 10 forks source link

Allow a definition in ]add #465

Open abrudz opened 2 years ago

abrudz commented 2 years ago

I'm always frustrated when I want to add a new oneliner function or constant, having to do it in two steps, first the definition then ]add

Describe the solution you'd like ]Add could allow a definition to be included, e.g.

]add TwoTimes←{2×⍵}
]add To10←⍳10