Cabal-2.2.0.0: A framework for packaging Haskell software
Distribution.Types.AbiHash
Synopsis
data AbiHash #
ABI Hashes
Use mkAbiHash and unAbiHash to convert from/to a String.
mkAbiHash
unAbiHash
String
This type is opaque since Cabal-2.0
Cabal-2.0
Since: 2.0.0.2
Instances
Methods
(==) :: AbiHash -> AbiHash -> Bool #
(/=) :: AbiHash -> AbiHash -> Bool #
readsPrec :: Int -> ReadS AbiHash #
readList :: ReadS [AbiHash] #
readPrec :: ReadPrec AbiHash #
readListPrec :: ReadPrec [AbiHash] #
showsPrec :: Int -> AbiHash -> ShowS #
show :: AbiHash -> String #
showList :: [AbiHash] -> ShowS #
fromString :: String -> AbiHash #
Associated Types
type Rep AbiHash :: * -> * #
from :: AbiHash -> Rep AbiHash x #
to :: Rep AbiHash x -> AbiHash #
put :: AbiHash -> Put #
get :: Get AbiHash #
putList :: [AbiHash] -> Put #
rnf :: AbiHash -> () #
pretty :: AbiHash -> Doc #
parsec :: CabalParsing m => m AbiHash #
disp :: AbiHash -> Doc #
parse :: ReadP r AbiHash #
unAbiHash :: AbiHash -> String #
Construct a AbiHash from a String
AbiHash
mkAbiHash is the inverse to unAbiHash
Note: No validations are performed to ensure that the resulting AbiHash is valid
mkAbiHash :: String -> AbiHash #
Convert AbiHash to String