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

  • 6 types
datadata Bytes
#

A slice of a ByteArray.

Constructors

Instances7IsList, Eq, Ord, Show, Semigroup, Monoid, …
  • IsList BytesDefined in byteslice-0.2.15.0 · Data.Bytes.Internal
  • Eq BytesDefined in byteslice-0.2.15.0 · Data.Bytes.Internal
  • Ord BytesDefined in byteslice-0.2.15.0 · Data.Bytes.Internal
  • Show BytesDefined in byteslice-0.2.15.0 · Data.Bytes.Internal
  • Semigroup BytesDefined in byteslice-0.2.15.0 · Data.Bytes.Internal
  • Monoid BytesDefined in byteslice-0.2.15.0 · Data.Bytes.Internal
  • type Item Bytes = Word8Defined in byteslice-0.2.15.0 · 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