HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Modulehackage-security-0.6.3.2Haskell2010

Hackage.Security.Client.Formats

  • 5 types
  • 5 values

Formats

0 declarations

Type level

Term level

datadata Format a where
#

Format is a singleton type (reflection type to term level)

NOTE: In the future we might add further compression formats.

Instances3Unify, Eq, Show
  • Unify FormatDefined in hackage-security-0.6.3.2 · Hackage.Security.Client.Formats
  • Eq (Format f)Defined in hackage-security-0.6.3.2 · Hackage.Security.Client.Formats
  • Show (Format f)Defined in hackage-security-0.6.3.2 · Hackage.Security.Client.Formats
datadata Formats a b where
#

Available formats

Rather than having a general list here, we enumerate all possibilities. This means we are very precise about what we expect, and we avoid any runtime errors about unexpected format definitions.

NOTE: If we add additional cases here (for dealing with additional formats) all calls to error "inaccessible" need to be reevaluated.

Constructors

Instances3Functor, Eq, Show
  • Functor (Formats fs)Defined in hackage-security-0.6.3.2 · Hackage.Security.Client.Formats
  • Eq a => Eq (Formats fs a)Defined in hackage-security-0.6.3.2 · Hackage.Security.Client.Formats
  • Show a => Show (Formats fs a)Defined in hackage-security-0.6.3.2 · Hackage.Security.Client.Formats

Key membership

1 declaration

Utility

Map-like operations

3 declarations