Post History
APL (ngn/apl), 6 bytes {∇¨⍳⍵} Try it online! Dyalog APL and dzaima/APL appear to not give empty vectors for ⍳0, so I used ngn/APL. I don't know how to turn on boxing there, though, so there'...
#1: Initial revision
# [APL (ngn/apl)], 6 bytes
<!-- language-all: lang-apl -->
{∇¨⍳⍵}
[Try it online!][TIO-ko1thk79]
[APL (ngn/apl)]: https://gitlab.com/n9n/apl
[TIO-ko1thk79]: https://tio.run/##SyzI0c1Lz/v/P@1R24TqRx3th1Y86t38qHdr7f9HfVNBYga2jzoXAQWs1Ktr1R91tzzq6FKvVtfRgKrdqqmjXqtem6Zg8h8A "APL (ngn/apl) – Try It Online"
Dyalog APL and dzaima/APL appear to not give empty vectors for `⍳0`, so I used ngn/APL. I don't know how to turn on boxing there, though, so there's extra processing code in the footer.
```
{∇¨⍳⍵}
⍵ ⍝ The input
⍳ ⍝ Make a range [1,⍵]
∇¨ ⍝ For each number in that range, run this function on it
```
