Cabal-2.1.0.0: A framework for packaging Haskell software

Safe HaskellNone
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: 2.0.0.2

Instances
Eq AbiHash # 
Instance details

Methods

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

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

Read AbiHash # 
Instance details
Show AbiHash # 
Instance details
IsString AbiHash #

mkAbiHash

Since: 2.0.0.2

Instance details
Generic AbiHash # 
Instance details

Associated Types

type Rep AbiHash :: * -> * Source #

NFData AbiHash # 
Instance details

Methods

rnf :: AbiHash -> () Source #

Binary AbiHash # 
Instance details
Parsec AbiHash # 
Instance details
Pretty AbiHash # 
Instance details

Methods

pretty :: AbiHash -> Doc Source #

Text AbiHash # 
Instance details
type Rep AbiHash # 
Instance details
type Rep AbiHash = D1 (MetaData "AbiHash" "Distribution.Types.AbiHash" "Cabal-2.1.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: 2.0.0.2

mkAbiHash :: String -> AbiHash Source #

Convert AbiHash to String

Since: 2.0.0.2