tails package:harpie

Select the tail elements along the supplied dimensions.
>>> pretty $ tails [0,2] a
[[[13,14,15],
[17,18,19],
[21,22,23]]]
Select the tail elements along the supplied dimensions.
>>> pretty $ tails (Dims @[0,2]) a
[[[13,14,15],
[17,18,19],
[21,22,23]]]