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 the- Slicestructure. All slices are of this type.
- Init.Data.Slice.Operationsprovides functions on- Slicevia dot notation. Many of them are implemented using iterators under the hood.
- Init.Data.Slice.Notationprovides slice notation based on ranges, relying on the- Sliceabletypeclass.
- Init.Data.Slice.Arrayprovides the- Sliceableinstance for array slices.