inits package:harpie

Select the init elements along the supplied dimensions.
>>> pretty $ inits [0,2] a
[[[0,1,2],
[4,5,6],
[8,9,10]]]
Select the init elements along the supplied dimensions.
>>> pretty $ inits (Dims @[0,2]) a
[[[0,1,2],
[4,5,6],
[8,9,10]]]