@LeakyNun I have ³ḣ;³ṫ which is the component that's meant to take n element from the front and the elements from the end starting at n, but I have no idea what it does. I did some tests with hardcoded numbers to try to get it to work, but it's not giving me anything useful.
Yeah I had that problem last time, and it wasn't really solved. Rather than just telling me to read over the docs, can you actually give me the answer this time, please?
The first part creates [1...len(y)] for the list, then compares with the number to produce [0, 1, 0, 0] in this case and then zips with the original list. The second part creates an array of 1s the length of the list, then zips that with the original list. The ḟ is supposed to remove the element in the first zip that is also in the second.
For example [3, 1, 4, 1] 2 => [[0, 3], [1, 1], [0, 4], [0, 1]] in the first part and [[1, 3], [1, 1], [1, 4], [0, 1]] in the second. The ḟ then makes it [[1,3],[1,4],[1,1]]
Calling it as a monad is giving it 2 as both the left and the right argument.
It needs to be called as a dyad because it takes two arguments; the list, and the index.
Otherwise though, your idea is quite nice; I didn't think of removing the index that way (I thought of using head + tail and leaving out an element, which didn't work too well). :)