Cabal-2.0.1.0: 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.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 #
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