HORIZON HASKELLDocslts/ghc-10.0.xfc4e5982026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · fc4e598 · 2026-10-11

Modulebyteslice-0.2.15.0Haskell2010

Data.Bytes.Mutable

If you are interested in sub-arrays of MutableByteArrays (e.g. writing quicksort), it would be grossly inefficient to make a copy of the sub-array. On the other hand, it'd be really annoying to track limit indices by hand.

This module defines the MutableBytes type which exposes a standard array interface for a sub-arrays without copying and without manual index manipulation. For immutable arrays, see Data.Bytes.

  • 1 type
  • 5 values

Types

1 declaration

Filtering

2 declarations

Unsafe Slicing

2 declarations

Conversion

1 declaration