Hacker News new | ask | show | jobs
by leprechaun1066 1184 days ago
Sounds like you want q:

https://code.kx.com/q/ref/

https://code.kx.com/q4m3/

1 comments

To build on this:

k is a bit like APL, but more concerned with lists rather than multi-dimensional arrays. It uses normal symbols that are easily accessible on your keyboard like + and !, but they are seriously overloaded.

q is built on top of k, and take all the monadic overloads of the operators and gives them a name.

So instead of writing

  !5
to get a list of the first 5 integers, you write

  til 5
This is sort of what the original comment is getting at (I think)