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

Moduleserialise-0.2.6.1Haskell2010

Codec.Serialise.Class

The Serialise class allows you to encode a given type into a CBOR object, or decode a CBOR object into the user-specified type.

  • 5 classes
  • 5 values
  • Packageserialise-0.2.6.1
  • Exports10
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceClass.hs

The Serialise class

10 declarations
classclass Serialise a where
#

Types that are instances of the Serialise class allow values to be quickly encoded or decoded directly to a CBOR representation, for object transmission or storage.

Methods

Instances114Serialise, …
classclass GSerialiseEncode (f :: k -> Type) where
#

Methods

Instances6GSerialiseEncode
classclass GSerialiseDecode (f :: k -> Type) where
#

Methods

Instances6GSerialiseDecode
classclass GSerialiseProd (f :: k -> Type) where
#

Serialization of product types

Methods

Instances4GSerialiseProd
classclass GSerialiseSum (f :: k -> Type) where
#

Serialization of sum types

Methods

Instances2GSerialiseSum