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

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 2b27632 · 2026-10-31

Modulehackage-security-0.6.4.0Haskell2010

Hackage.Security.Client.Formats

Contents
  1. Formats
  2. Type level
  3. Term level
  4. Key membership
  5. Utility
  6. Map-like operations
Synopsis

Formats

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.4.0 · Hackage.Security.Client.Formats
  • Eq (Format f)Defined in hackage-security-0.6.4.0 · Hackage.Security.Client.Formats
  • Show (Format f)Defined in hackage-security-0.6.4.0 · 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.4.0 · Hackage.Security.Client.Formats
  • Eq a => Eq (Formats fs a)Defined in hackage-security-0.6.4.0 · Hackage.Security.Client.Formats
  • Show a => Show (Formats fs a)Defined in hackage-security-0.6.4.0 · Hackage.Security.Client.Formats

Key membership

Utility

Map-like operations