I'm struggling to formulate something in APL, and I'm wondering if someone could give me a hint or push in the right direction? I have an array of integers, and I want to split that into an array for each sequence of increasing integers.
Ie, (1 2 1 2 3 1 2 5) -> (1 2) (1 2 3) (1 2 5)