Polymorphic slices #
This module provides slices -- views on a subset of all elements of an array or other collection, demarcated by a range of indices.
Init.Data.Slice.Basicdefines theSlicestructure. All slices are of this type.Init.Data.Slice.Operationsprovides functions onSlicevia dot notation. Many of them are implemented using iterators under the hood.Init.Data.Slice.Notationprovides slice notation based on ranges, relying on theSliceabletypeclass.Init.Data.Slice.Arrayprovides theSliceableinstance for array slices.