Cabal-2.4.0.0: A framework for packaging Haskell software

Safe HaskellNone
LanguageHaskell2010

Distribution.Types.AbiHash

Synopsis

Documentation

data AbiHash #

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

Defined in Distribution.Types.AbiHash

Methods

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

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

Read AbiHash # 
Instance details

Defined in Distribution.Types.AbiHash

Show AbiHash # 
Instance details

Defined in Distribution.Types.AbiHash

IsString AbiHash #

mkAbiHash

Since: 2.0.0.2

Instance details

Defined in Distribution.Types.AbiHash

Methods

fromString :: String -> AbiHash #

Generic AbiHash # 
Instance details

Defined in Distribution.Types.AbiHash

Associated Types

type Rep AbiHash :: * -> * #

Methods

from :: AbiHash -> Rep AbiHash x #

to :: Rep AbiHash x -> AbiHash #

Binary AbiHash # 
Instance details

Defined in Distribution.Types.AbiHash

Methods

put :: AbiHash -> Put #

get :: Get AbiHash #

putList :: [AbiHash] -> Put #

NFData AbiHash # 
Instance details

Defined in Distribution.Types.AbiHash

Methods

rnf :: AbiHash -> () #

Pretty AbiHash # 
Instance details

Defined in Distribution.Types.AbiHash

Methods

pretty :: AbiHash -> Doc #

Parsec AbiHash # 
Instance details

Defined in Distribution.Types.AbiHash

Methods

parsec :: CabalParsing m => m AbiHash #

Text AbiHash # 
Instance details

Defined in Distribution.Types.AbiHash

Methods

disp :: AbiHash -> Doc #

parse :: ReadP r AbiHash #

type Rep AbiHash # 
Instance details

Defined in Distribution.Types.AbiHash

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

unAbiHash :: AbiHash -> String #

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 #

Convert AbiHash to String

Since: 2.0.0.2