Cabal-3.5.0.0: A framework for packaging Haskell software
Safe HaskellSafe-Inferred
LanguageHaskell2010

Distribution.Types.AbiHash

Synopsis

Documentation

data AbiHash Source #

ABI Hashes

Use mkAbiHash and unAbiHash to convert from/to a String.

This type is opaque since Cabal-2.0

Since: Cabal-2.0.0.2

Instances

Instances details
Parsec AbiHash # 
Instance details

Defined in Distribution.Types.AbiHash

Pretty AbiHash # 
Instance details

Defined in Distribution.Types.AbiHash

Structured AbiHash # 
Instance details

Defined in Distribution.Types.AbiHash

IsString AbiHash #

mkAbiHash

Since: Cabal-2.0.0.2

Instance details

Defined in Distribution.Types.AbiHash

Generic AbiHash # 
Instance details

Defined in Distribution.Types.AbiHash

Associated Types

type Rep AbiHash :: Type -> Type Source #

Read AbiHash # 
Instance details

Defined in Distribution.Types.AbiHash

Show AbiHash # 
Instance details

Defined in Distribution.Types.AbiHash

Binary AbiHash # 
Instance details

Defined in Distribution.Types.AbiHash

NFData AbiHash # 
Instance details

Defined in Distribution.Types.AbiHash

Methods

rnf :: AbiHash -> () Source #

Eq AbiHash # 
Instance details

Defined in Distribution.Types.AbiHash

Methods

(==) :: AbiHash -> AbiHash -> Bool #

(/=) :: AbiHash -> AbiHash -> Bool #

type Rep AbiHash # 
Instance details

Defined in Distribution.Types.AbiHash

type Rep AbiHash = D1 ('MetaData "AbiHash" "Distribution.Types.AbiHash" "Cabal-3.5.0.0" 'True) (C1 ('MetaCons "AbiHash" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ShortText)))

unAbiHash :: AbiHash -> String Source #

Construct a AbiHash from a String

mkAbiHash is the inverse to unAbiHash

Note: No validations are performed to ensure that the resulting AbiHash is valid

Since: Cabal-2.0.0.2

mkAbiHash :: String -> AbiHash Source #

Convert AbiHash to String

Since: Cabal-2.0.0.2