Cabal-2.0.0.2: A framework for packaging Haskell software
Distribution.Types.AbiHash
Synopsis
data AbiHash Source #
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
Instances
Methods
(==) :: AbiHash -> AbiHash -> Bool #
(/=) :: AbiHash -> AbiHash -> Bool #
readsPrec :: Int -> ReadS AbiHash Source #
readList :: ReadS [AbiHash] Source #
readPrec :: ReadPrec AbiHash Source #
readListPrec :: ReadPrec [AbiHash] Source #
showsPrec :: Int -> AbiHash -> ShowS Source #
show :: AbiHash -> String Source #
showList :: [AbiHash] -> ShowS Source #
fromString :: String -> AbiHash Source #
Associated Types
type Rep AbiHash :: * -> * Source #
from :: AbiHash -> Rep AbiHash x Source #
to :: Rep AbiHash x -> AbiHash Source #
put :: AbiHash -> Put Source #
get :: Get AbiHash Source #
putList :: [AbiHash] -> Put Source #
disp :: AbiHash -> Doc Source #
parse :: ReadP r AbiHash Source #
unAbiHash :: AbiHash -> String Source #
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 Source #
Convert AbiHash to String