HORIZON HASKELLDocslts/ghc-10.0.x77a86622026-10-31Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 77a8662 · 2026-10-31

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.

Contents
  1. The Serialise class
Synopsis
  • Packageserialise-0.2.6.1
  • Exports10
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceClass.hs

The Serialise class

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