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.Types

  • 6 types
datadata Bytes
#

A slice of a ByteArray.

Constructors

Instances7IsList, Eq, Ord, Show, Semigroup, Monoid, …
  • IsList BytesDefined in byteslice-0.2.13.2 · Data.Bytes.Internal
  • Eq BytesDefined in byteslice-0.2.13.2 · Data.Bytes.Internal
  • Ord BytesDefined in byteslice-0.2.13.2 · Data.Bytes.Internal
  • Show BytesDefined in byteslice-0.2.13.2 · Data.Bytes.Internal
  • Semigroup BytesDefined in byteslice-0.2.13.2 · Data.Bytes.Internal
  • Monoid BytesDefined in byteslice-0.2.13.2 · Data.Bytes.Internal
  • type Item Bytes = Word8Defined in byteslice-0.2.13.2 · Data.Bytes.Internal
datadata BytesN (n :: Nat)
#

A slice of a ByteArray whose compile-time-known length is represented by a phantom type variable. Consumers of this data constructor must be careful to preserve the expected invariant.

Constructors

Instances1Show
newtypenewtype ByteArrayN (n :: Nat)
#

A ByteArray whose compile-time-known length is represented by a phantom type variable. Consumers of this data constructor must be careful to preserve the expected invariant.

Constructors

Instances1Show