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

Modulebytes-0.17.4Haskell2010

Data.Bytes.Get

This module generalizes the binary Get and cereal Get monads in an ad hoc fashion to permit code to be written that is compatible across them.

Moreover, this class permits code to be written to be portable over various monad transformers applied to these as base monads.

  • 1 class
  • 2 values
  • Packagebytes-0.17.4
  • Exports3
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceGet.hs
classclass (forall a b. Coercible a b => Coercible (m a) (m b), Integral (Remaining m), MonadFail m, Applicative m) => MonadGet (m :: Type -> Type) where
#

Associated types

  • type family Remaining (m :: Type -> Type)

    An Integral number type used for unchecked skips and counting.

  • type family Bytes (m :: Type -> Type)

    The underlying ByteString type used by this instance

Methods

Instances10MonadGet, …