HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Modulebyteslice-0.2.13.2Haskell2010

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