Element - Þs
- All Slices of a List
Description
Get all slices of a list, skipping a certain number of items
Overloads
lst-int
-[a[::b], a[1::b], a[2::b], ...]
int-lst
-[b[::a], b[1::a], b[2::a], ...]
Examples
⟨1|2|3|4|5|6|7|8|9⟩ 2 Þs
=⟨⟨1|3|5|7|9⟩|⟨2|4|6|8⟩⟩
⟨3|1|7|21|5|76|14|4|123|543⟩ 4 Þs
=⟨⟨3|5|123⟩|⟨1|76|543⟩|⟨7|14⟩|⟨21|4⟩⟩
⟨3|1|2|4|6|4|5|2|1|9|5|3|9|3⟩ -4 Þs
=⟨⟩