cardano-api
Safe HaskellNone
LanguageHaskell2010

Cardano.Api.Hash

Synopsis

Hash

data family Hash keyrole Source #

Instances

Instances details
FromJSON (Hash BlockHeader) Source # 
Instance details

Defined in Cardano.Api.Block

Methods

parseJSON :: Value -> Parser (Hash BlockHeader) #

parseJSONList :: Value -> Parser [Hash BlockHeader] #

omittedField :: Maybe (Hash BlockHeader) #

FromJSON (Hash DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

parseJSON :: Value -> Parser (Hash DRepKey) #

parseJSONList :: Value -> Parser [Hash DRepKey] #

omittedField :: Maybe (Hash DRepKey) #

FromJSON (Hash GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

parseJSON :: Value -> Parser (Hash GenesisKey) #

parseJSONList :: Value -> Parser [Hash GenesisKey] #

omittedField :: Maybe (Hash GenesisKey) #

FromJSON (Hash PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

parseJSON :: Value -> Parser (Hash PaymentKey) #

parseJSONList :: Value -> Parser [Hash PaymentKey] #

omittedField :: Maybe (Hash PaymentKey) #

FromJSON (Hash StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromJSON (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

parseJSON :: Value -> Parser (Hash StakePoolKey) #

parseJSONList :: Value -> Parser [Hash StakePoolKey] #

omittedField :: Maybe (Hash StakePoolKey) #

FromJSON (Hash ScriptData) Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.ScriptData

Methods

parseJSON :: Value -> Parser (Hash ScriptData) #

parseJSONList :: Value -> Parser [Hash ScriptData] #

omittedField :: Maybe (Hash ScriptData) #

FromJSONKey (Hash ScriptData) Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.ScriptData

Methods

fromJSONKey :: FromJSONKeyFunction (Hash ScriptData)

fromJSONKeyList :: FromJSONKeyFunction [Hash ScriptData]

ToJSON (Hash BlockHeader) Source # 
Instance details

Defined in Cardano.Api.Block

ToJSON (Hash DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

toJSON :: Hash DRepKey -> Value #

toEncoding :: Hash DRepKey -> Encoding #

toJSONList :: [Hash DRepKey] -> Value #

toEncodingList :: [Hash DRepKey] -> Encoding #

omitField :: Hash DRepKey -> Bool #

ToJSON (Hash GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

toJSON :: Hash GenesisKey -> Value #

toEncoding :: Hash GenesisKey -> Encoding #

toJSONList :: [Hash GenesisKey] -> Value #

toEncodingList :: [Hash GenesisKey] -> Encoding #

omitField :: Hash GenesisKey -> Bool #

ToJSON (Hash PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

toJSON :: Hash PaymentKey -> Value #

toEncoding :: Hash PaymentKey -> Encoding #

toJSONList :: [Hash PaymentKey] -> Value #

toEncodingList :: [Hash PaymentKey] -> Encoding #

omitField :: Hash PaymentKey -> Bool #

ToJSON (Hash StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToJSON (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToJSON (Hash ScriptData) Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.ScriptData

Methods

toJSON :: Hash ScriptData -> Value #

toEncoding :: Hash ScriptData -> Encoding #

toJSONList :: [Hash ScriptData] -> Value #

toEncodingList :: [Hash ScriptData] -> Encoding #

omitField :: Hash ScriptData -> Bool #

ToJSONKey (Hash DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

toJSONKey :: ToJSONKeyFunction (Hash DRepKey)

toJSONKeyList :: ToJSONKeyFunction [Hash DRepKey]

ToJSONKey (Hash GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

toJSONKey :: ToJSONKeyFunction (Hash GenesisKey)

toJSONKeyList :: ToJSONKeyFunction [Hash GenesisKey]

ToJSONKey (Hash PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

toJSONKey :: ToJSONKeyFunction (Hash PaymentKey)

toJSONKeyList :: ToJSONKeyFunction [Hash PaymentKey]

ToJSONKey (Hash StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

toJSONKey :: ToJSONKeyFunction (Hash StakePoolExtendedKey)

toJSONKeyList :: ToJSONKeyFunction [Hash StakePoolExtendedKey]

ToJSONKey (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

toJSONKey :: ToJSONKeyFunction (Hash StakePoolKey)

toJSONKeyList :: ToJSONKeyFunction [Hash StakePoolKey]

ToJSONKey (Hash ScriptData) Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.ScriptData

Methods

toJSONKey :: ToJSONKeyFunction (Hash ScriptData)

toJSONKeyList :: ToJSONKeyFunction [Hash ScriptData]

Show (Hash BlockHeader) Source # 
Instance details

Defined in Cardano.Api.Block

Show (Hash ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Show (Hash ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Show (Hash DRepMetadata) Source # 
Instance details

Defined in Cardano.Api.Certificate.Internal.DRepMetadata

Show (Hash StakePoolMetadata) Source # 
Instance details

Defined in Cardano.Api.Certificate.Internal.StakePoolMetadata

Show (Hash GovernancePoll) Source # 
Instance details

Defined in Cardano.Api.Governance.Internal.Poll

Show (Hash CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (Hash CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (Hash CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (Hash CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (Hash DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (Hash DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (Hash GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (Hash PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (Hash StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (Hash StakeKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (Hash StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Show (Hash KesKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

Show (Hash VrfKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

Show (Hash ScriptData) Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.ScriptData

HasTypeProxy a => HasTypeProxy (Hash a) Source # 
Instance details

Defined in Cardano.Api.Hash

Associated Types

data AsType (Hash a) 
Instance details

Defined in Cardano.Api.Hash

data AsType (Hash a) = AsHash (AsType a)

Methods

proxyToAsType :: Proxy (Hash a) -> AsType (Hash a) Source #

SerialiseAsBech32 (Hash CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

bech32PrefixFor :: Hash CommitteeColdKey -> HumanReadablePart Source #

bech32PrefixesPermitted :: AsType (Hash CommitteeColdKey) -> [HumanReadablePart] Source #

SerialiseAsBech32 (Hash CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

bech32PrefixFor :: Hash CommitteeHotKey -> HumanReadablePart Source #

bech32PrefixesPermitted :: AsType (Hash CommitteeHotKey) -> [HumanReadablePart] Source #

SerialiseAsBech32 (Hash DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

bech32PrefixFor :: Hash DRepKey -> HumanReadablePart Source #

bech32PrefixesPermitted :: AsType (Hash DRepKey) -> [HumanReadablePart] Source #

SerialiseAsBech32 (Hash StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsBech32 (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

bech32PrefixFor :: Hash StakePoolKey -> HumanReadablePart Source #

bech32PrefixesPermitted :: AsType (Hash StakePoolKey) -> [HumanReadablePart] Source #

SerialiseAsCBOR (Hash ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

SerialiseAsCBOR (Hash ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

SerialiseAsCBOR (Hash CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (Hash CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (Hash CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (Hash CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (Hash DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (Hash DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (Hash GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (Hash PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (Hash StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (Hash StakeKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsCBOR (Hash KesKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

SerialiseAsCBOR (Hash VrfKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

SerialiseAsRawBytes (Hash BlockHeader) Source # 
Instance details

Defined in Cardano.Api.Block

SerialiseAsRawBytes (Hash ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

SerialiseAsRawBytes (Hash ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

SerialiseAsRawBytes (Hash DRepMetadata) Source # 
Instance details

Defined in Cardano.Api.Certificate.Internal.DRepMetadata

SerialiseAsRawBytes (Hash StakePoolMetadata) Source # 
Instance details

Defined in Cardano.Api.Certificate.Internal.StakePoolMetadata

SerialiseAsRawBytes (Hash GovernancePoll) Source # 
Instance details

Defined in Cardano.Api.Governance.Internal.Poll

SerialiseAsRawBytes (Hash CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (Hash CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (Hash CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (Hash CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (Hash DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (Hash DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (Hash GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (Hash PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (Hash StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (Hash StakeKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (Hash StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

SerialiseAsRawBytes (Hash KesKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

SerialiseAsRawBytes (Hash VrfKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

SerialiseAsRawBytes (Hash ScriptData) Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.ScriptData

FromCBOR (Hash ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

FromCBOR (Hash ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

FromCBOR (Hash CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (Hash CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (Hash CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (Hash CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (Hash DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (Hash DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (Hash GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (Hash PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (Hash StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (Hash StakeKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

FromCBOR (Hash KesKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

FromCBOR (Hash VrfKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

ToCBOR (Hash ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Methods

toCBOR :: Hash ByronKey -> Encoding Source #

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash ByronKey) -> Size Source #

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash ByronKey] -> Size Source #

ToCBOR (Hash ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

ToCBOR (Hash CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (Hash CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (Hash CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (Hash CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (Hash DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (Hash DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

toCBOR :: Hash DRepKey -> Encoding Source #

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash DRepKey) -> Size Source #

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash DRepKey] -> Size Source #

ToCBOR (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (Hash GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (Hash PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (Hash StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (Hash StakeKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

toCBOR :: Hash StakeKey -> Encoding Source #

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash StakeKey) -> Size Source #

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash StakeKey] -> Size Source #

ToCBOR (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

ToCBOR (Hash KesKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

Methods

toCBOR :: Hash KesKey -> Encoding Source #

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash KesKey) -> Size Source #

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash KesKey] -> Size Source #

ToCBOR (Hash VrfKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

Methods

toCBOR :: Hash VrfKey -> Encoding Source #

encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy (Hash VrfKey) -> Size Source #

encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [Hash VrfKey] -> Size Source #

Eq (Hash BlockHeader) Source # 
Instance details

Defined in Cardano.Api.Block

Eq (Hash ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Eq (Hash ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Eq (Hash DRepMetadata) Source # 
Instance details

Defined in Cardano.Api.Certificate.Internal.DRepMetadata

Eq (Hash StakePoolMetadata) Source # 
Instance details

Defined in Cardano.Api.Certificate.Internal.StakePoolMetadata

Eq (Hash GovernancePoll) Source # 
Instance details

Defined in Cardano.Api.Governance.Internal.Poll

Eq (Hash CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (Hash CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (Hash CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (Hash CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (Hash DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (Hash DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (Hash GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (Hash PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (Hash StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (Hash StakeKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (Hash StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Eq (Hash KesKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

Eq (Hash VrfKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

Eq (Hash ScriptData) Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.ScriptData

Ord (Hash BlockHeader) Source # 
Instance details

Defined in Cardano.Api.Block

Ord (Hash ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Ord (Hash ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Ord (Hash GovernancePoll) Source # 
Instance details

Defined in Cardano.Api.Governance.Internal.Poll

Ord (Hash CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Ord (Hash CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Ord (Hash CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Ord (Hash CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Ord (Hash DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Ord (Hash DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Ord (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Ord (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Ord (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Ord (Hash GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Ord (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Ord (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Ord (Hash PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Ord (Hash StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Ord (Hash StakeKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Ord (Hash StakePoolExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Ord (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Ord (Hash KesKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

Ord (Hash VrfKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

Ord (Hash ScriptData) Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.ScriptData

Pretty (Hash ByronKey) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Methods

pretty :: Hash ByronKey -> Doc ann #

prettyList :: [Hash ByronKey] -> Doc ann #

Pretty (Hash ByronKeyLegacy) Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Pretty (Hash GovernancePoll) Source # 
Instance details

Defined in Cardano.Api.Governance.Internal.Poll

Pretty (Hash CommitteeColdExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (Hash CommitteeColdKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (Hash CommitteeHotExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (Hash CommitteeHotKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (Hash DRepExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (Hash DRepKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

pretty :: Hash DRepKey -> Doc ann #

prettyList :: [Hash DRepKey] -> Doc ann #

Pretty (Hash GenesisDelegateExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (Hash GenesisDelegateKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (Hash GenesisExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (Hash GenesisKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

pretty :: Hash GenesisKey -> Doc ann #

prettyList :: [Hash GenesisKey] -> Doc ann #

Pretty (Hash GenesisUTxOKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (Hash PaymentExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (Hash PaymentKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

pretty :: Hash PaymentKey -> Doc ann #

prettyList :: [Hash PaymentKey] -> Doc ann #

Pretty (Hash StakeExtendedKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (Hash StakeKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Methods

pretty :: Hash StakeKey -> Doc ann #

prettyList :: [Hash StakeKey] -> Doc ann #

Pretty (Hash StakePoolKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Pretty (Hash KesKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

Methods

pretty :: Hash KesKey -> Doc ann #

prettyList :: [Hash KesKey] -> Doc ann #

Pretty (Hash VrfKey) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

Methods

pretty :: Hash VrfKey -> Doc ann #

prettyList :: [Hash VrfKey] -> Doc ann #

Pretty (Hash ScriptData) Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.ScriptData

Methods

pretty :: Hash ScriptData -> Doc ann #

prettyList :: [Hash ScriptData] -> Doc ann #

newtype Hash BlockHeader Source #

For now at least we use a fixed concrete hash type for all modes and era. The different eras do use different types, but it's all the same underlying representation.

Instance details

Defined in Cardano.Api.Block

newtype Hash ByronKey Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

newtype Hash ByronKeyLegacy Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

newtype Hash DRepMetadata Source # 
Instance details

Defined in Cardano.Api.Certificate.Internal.DRepMetadata

newtype Hash StakePoolMetadata Source # 
Instance details

Defined in Cardano.Api.Certificate.Internal.StakePoolMetadata

newtype Hash GovernancePoll Source # 
Instance details

Defined in Cardano.Api.Governance.Internal.Poll

newtype Hash CommitteeColdExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype Hash CommitteeColdKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype Hash CommitteeHotExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype Hash CommitteeHotKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype Hash DRepExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype Hash DRepKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype Hash GenesisDelegateExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype Hash GenesisDelegateKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype Hash GenesisExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype Hash GenesisKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype Hash GenesisUTxOKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype Hash PaymentExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype Hash PaymentKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype Hash StakeExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype Hash StakeKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype Hash StakePoolExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype Hash StakePoolKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

newtype Hash KesKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

newtype Hash VrfKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

newtype Hash ScriptData Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.ScriptData

data AsType (Hash a) Source # 
Instance details

Defined in Cardano.Api.Hash

data AsType (Hash a) = AsHash (AsType a)

class CastHash roleA roleB where Source #

Methods

castHash :: Hash roleA -> Hash roleB Source #

data family AsType t Source #

A family of singleton types used in this API to indicate which type to use where it would otherwise be ambiguous or merely unclear.

Values of this type are passed to deserialisation functions for example.

Instances

Instances details
data AsType AddressAny Source # 
Instance details

Defined in Cardano.Api.Address

data AsType ByronAddr Source # 
Instance details

Defined in Cardano.Api.Address

data AsType ShelleyAddr Source # 
Instance details

Defined in Cardano.Api.Address

data AsType StakeAddress Source # 
Instance details

Defined in Cardano.Api.Address

data AsType BlockHeader Source # 
Instance details

Defined in Cardano.Api.Block

data AsType ByronKey Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

data AsType ByronKeyLegacy Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

data AsType ByronUpdateProposal Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Proposal

data AsType ByronVote Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Proposal

data AsType DRepMetadata Source # 
Instance details

Defined in Cardano.Api.Certificate.Internal.DRepMetadata

data AsType OperationalCertificate Source # 
Instance details

Defined in Cardano.Api.Certificate.Internal.OperationalCertificate

data AsType OperationalCertificateIssueCounter Source # 
Instance details

Defined in Cardano.Api.Certificate.Internal.OperationalCertificate

data AsType StakePoolMetadata Source # 
Instance details

Defined in Cardano.Api.Certificate.Internal.StakePoolMetadata

data AsType AllegraEra Source # 
Instance details

Defined in Cardano.Api.Era.Internal.Core

data AsType AlonzoEra Source # 
Instance details

Defined in Cardano.Api.Era.Internal.Core

data AsType BabbageEra Source # 
Instance details

Defined in Cardano.Api.Era.Internal.Core

data AsType ByronEra Source # 
Instance details

Defined in Cardano.Api.Era.Internal.Core

data AsType ConwayEra Source # 
Instance details

Defined in Cardano.Api.Era.Internal.Core

data AsType MaryEra Source # 
Instance details

Defined in Cardano.Api.Era.Internal.Core

data AsType ShelleyEra Source # 
Instance details

Defined in Cardano.Api.Era.Internal.Core

data AsType GovernancePoll Source # 
Instance details

Defined in Cardano.Api.Governance.Internal.Poll

data AsType GovernancePollAnswer Source # 
Instance details

Defined in Cardano.Api.Governance.Internal.Poll

data AsType CommitteeColdExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

data AsType CommitteeColdKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

data AsType CommitteeHotExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

data AsType CommitteeHotKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

data AsType DRepExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

data AsType DRepKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

data AsType GenesisDelegateExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

data AsType GenesisDelegateKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

data AsType GenesisExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

data AsType GenesisKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

data AsType GenesisUTxOKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

data AsType PaymentExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

data AsType PaymentKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

data AsType StakeExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

data AsType StakeKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

data AsType StakePoolExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

data AsType StakePoolKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

data AsType KesKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

data AsType VrfKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

data AsType PlutusScriptV1 Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.Script

data AsType PlutusScriptV2 Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.Script

data AsType PlutusScriptV3 Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.Script

data AsType ScriptHash Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.Script

data AsType ScriptInAnyLang Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.Script

data AsType SimpleScript' Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.Script

data AsType HashableScriptData Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.ScriptData

data AsType ScriptData Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.ScriptData

data AsType PraosNonce Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

data AsType UpdateProposal Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

data AsType EraHistory Source # 
Instance details

Defined in Cardano.Api.Query.Internal.Type.QueryInMode

data AsType TextEnvelope Source # 
Instance details

Defined in Cardano.Api.Serialise.TextEnvelope.Internal

data AsType TxId Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.TxIn

data AsType TxMetadata Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.TxMetadata

data AsType AssetName Source # 
Instance details

Defined in Cardano.Api.Value.Internal

data AsType PolicyId Source # 
Instance details

Defined in Cardano.Api.Value.Internal

data AsType GovActionId Source # 
Instance details

Defined in Cardano.Api.Internal.Orphans.Serialisation

data AsType Term Source # 
Instance details

Defined in Cardano.Api.Serialise.Cbor.Canonical

data AsType (Address addrtype) Source # 
Instance details

Defined in Cardano.Api.Address

data AsType (Address addrtype) = AsAddress (AsType addrtype)
data AsType (AddressInEra era) Source # 
Instance details

Defined in Cardano.Api.Address

data AsType (Certificate era) Source # 
Instance details

Defined in Cardano.Api.Certificate.Internal

data AsType (Proposal era) Source # 
Instance details

Defined in Cardano.Api.Governance.Internal.Action.ProposalProcedure

data AsType (VotingProcedure era) Source # 
Instance details

Defined in Cardano.Api.Governance.Internal.Action.VotingProcedure

data AsType (VotingProcedures era) Source # 
Instance details

Defined in Cardano.Api.Governance.Internal.Action.VotingProcedure

data AsType (Hash a) Source # 
Instance details

Defined in Cardano.Api.Hash

data AsType (Hash a) = AsHash (AsType a)
data AsType (SigningKey a) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Class

data AsType (VerificationKey a) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Class

data AsType (PlutusScript lang) Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.Script

data AsType (Script lang) Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.Script

data AsType (Script lang) = AsScript (AsType lang)
data AsType (ScriptInEra era) Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.Script

data AsType (KeyWitness era) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Sign

data AsType (Tx era) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Sign

data AsType (Tx era) = AsTx (AsType era)
data AsType (TxBody era) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Sign

data AsType (TxBody era) = AsTxBody (AsType era)
data AsType (Credential 'ColdCommitteeRole) Source # 
Instance details

Defined in Cardano.Api.Internal.Orphans.Serialisation

data AsType (Credential 'DRepRole) Source # 
Instance details

Defined in Cardano.Api.Internal.Orphans.Serialisation

data AsType (Credential 'HotCommitteeRole) Source # 
Instance details

Defined in Cardano.Api.Internal.Orphans.Serialisation

data AsType (PlutusScriptInEra era lang) Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.Script

HasTypeProxy

class Typeable t => HasTypeProxy t where Source #

Methods

proxyToAsType :: Proxy t -> AsType t Source #

Instances

Instances details
HasTypeProxy AddressAny Source # 
Instance details

Defined in Cardano.Api.Address

Associated Types

data AsType AddressAny 
Instance details

Defined in Cardano.Api.Address

HasTypeProxy ByronAddr Source # 
Instance details

Defined in Cardano.Api.Address

Associated Types

data AsType ByronAddr 
Instance details

Defined in Cardano.Api.Address

HasTypeProxy ShelleyAddr Source # 
Instance details

Defined in Cardano.Api.Address

Associated Types

data AsType ShelleyAddr 
Instance details

Defined in Cardano.Api.Address

HasTypeProxy StakeAddress Source # 
Instance details

Defined in Cardano.Api.Address

Associated Types

data AsType StakeAddress 
Instance details

Defined in Cardano.Api.Address

HasTypeProxy BlockHeader Source # 
Instance details

Defined in Cardano.Api.Block

Associated Types

data AsType BlockHeader 
Instance details

Defined in Cardano.Api.Block

HasTypeProxy ByronKey Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Associated Types

data AsType ByronKey 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

HasTypeProxy ByronKeyLegacy Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

Associated Types

data AsType ByronKeyLegacy 
Instance details

Defined in Cardano.Api.Byron.Internal.Key

HasTypeProxy ByronUpdateProposal Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Proposal

HasTypeProxy ByronVote Source # 
Instance details

Defined in Cardano.Api.Byron.Internal.Proposal

Associated Types

data AsType ByronVote 
Instance details

Defined in Cardano.Api.Byron.Internal.Proposal

HasTypeProxy DRepMetadata Source # 
Instance details

Defined in Cardano.Api.Certificate.Internal.DRepMetadata

HasTypeProxy OperationalCertificate Source # 
Instance details

Defined in Cardano.Api.Certificate.Internal.OperationalCertificate

HasTypeProxy OperationalCertificateIssueCounter Source # 
Instance details

Defined in Cardano.Api.Certificate.Internal.OperationalCertificate

HasTypeProxy StakePoolMetadata Source # 
Instance details

Defined in Cardano.Api.Certificate.Internal.StakePoolMetadata

HasTypeProxy AllegraEra Source # 
Instance details

Defined in Cardano.Api.Era.Internal.Core

Associated Types

data AsType AllegraEra 
Instance details

Defined in Cardano.Api.Era.Internal.Core

HasTypeProxy AlonzoEra Source # 
Instance details

Defined in Cardano.Api.Era.Internal.Core

Associated Types

data AsType AlonzoEra 
Instance details

Defined in Cardano.Api.Era.Internal.Core

HasTypeProxy BabbageEra Source # 
Instance details

Defined in Cardano.Api.Era.Internal.Core

Associated Types

data AsType BabbageEra 
Instance details

Defined in Cardano.Api.Era.Internal.Core

HasTypeProxy ByronEra Source # 
Instance details

Defined in Cardano.Api.Era.Internal.Core

Associated Types

data AsType ByronEra 
Instance details

Defined in Cardano.Api.Era.Internal.Core

HasTypeProxy ConwayEra Source # 
Instance details

Defined in Cardano.Api.Era.Internal.Core

Associated Types

data AsType ConwayEra 
Instance details

Defined in Cardano.Api.Era.Internal.Core

HasTypeProxy MaryEra Source # 
Instance details

Defined in Cardano.Api.Era.Internal.Core

Associated Types

data AsType MaryEra 
Instance details

Defined in Cardano.Api.Era.Internal.Core

HasTypeProxy ShelleyEra Source # 
Instance details

Defined in Cardano.Api.Era.Internal.Core

Associated Types

data AsType ShelleyEra 
Instance details

Defined in Cardano.Api.Era.Internal.Core

HasTypeProxy GovernancePoll Source # 
Instance details

Defined in Cardano.Api.Governance.Internal.Poll

Associated Types

data AsType GovernancePoll 
Instance details

Defined in Cardano.Api.Governance.Internal.Poll

HasTypeProxy GovernancePollAnswer Source # 
Instance details

Defined in Cardano.Api.Governance.Internal.Poll

HasTypeProxy CommitteeColdExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTypeProxy CommitteeColdKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Associated Types

data AsType CommitteeColdKey 
Instance details

Defined in Cardano.Api.Key.Internal

HasTypeProxy CommitteeHotExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTypeProxy CommitteeHotKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Associated Types

data AsType CommitteeHotKey 
Instance details

Defined in Cardano.Api.Key.Internal

HasTypeProxy DRepExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Associated Types

data AsType DRepExtendedKey 
Instance details

Defined in Cardano.Api.Key.Internal

HasTypeProxy DRepKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Associated Types

data AsType DRepKey 
Instance details

Defined in Cardano.Api.Key.Internal

HasTypeProxy GenesisDelegateExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTypeProxy GenesisDelegateKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Associated Types

data AsType GenesisDelegateKey 
Instance details

Defined in Cardano.Api.Key.Internal

HasTypeProxy GenesisExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Associated Types

data AsType GenesisExtendedKey 
Instance details

Defined in Cardano.Api.Key.Internal

HasTypeProxy GenesisKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Associated Types

data AsType GenesisKey 
Instance details

Defined in Cardano.Api.Key.Internal

HasTypeProxy GenesisUTxOKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Associated Types

data AsType GenesisUTxOKey 
Instance details

Defined in Cardano.Api.Key.Internal

HasTypeProxy PaymentExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Associated Types

data AsType PaymentExtendedKey 
Instance details

Defined in Cardano.Api.Key.Internal

HasTypeProxy PaymentKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Associated Types

data AsType PaymentKey 
Instance details

Defined in Cardano.Api.Key.Internal

HasTypeProxy StakeExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Associated Types

data AsType StakeExtendedKey 
Instance details

Defined in Cardano.Api.Key.Internal

HasTypeProxy StakeKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Associated Types

data AsType StakeKey 
Instance details

Defined in Cardano.Api.Key.Internal

HasTypeProxy StakePoolExtendedKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

HasTypeProxy StakePoolKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal

Associated Types

data AsType StakePoolKey 
Instance details

Defined in Cardano.Api.Key.Internal

HasTypeProxy KesKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

Associated Types

data AsType KesKey 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

HasTypeProxy VrfKey Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

Associated Types

data AsType VrfKey 
Instance details

Defined in Cardano.Api.Key.Internal.Praos

HasTypeProxy PlutusScriptV1 Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.Script

Associated Types

data AsType PlutusScriptV1 
Instance details

Defined in Cardano.Api.Plutus.Internal.Script

HasTypeProxy PlutusScriptV2 Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.Script

Associated Types

data AsType PlutusScriptV2 
Instance details

Defined in Cardano.Api.Plutus.Internal.Script

HasTypeProxy PlutusScriptV3 Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.Script

Associated Types

data AsType PlutusScriptV3 
Instance details

Defined in Cardano.Api.Plutus.Internal.Script

HasTypeProxy ScriptHash Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.Script

Associated Types

data AsType ScriptHash 
Instance details

Defined in Cardano.Api.Plutus.Internal.Script

HasTypeProxy ScriptInAnyLang Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.Script

Associated Types

data AsType ScriptInAnyLang 
Instance details

Defined in Cardano.Api.Plutus.Internal.Script

HasTypeProxy SimpleScript' Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.Script

Associated Types

data AsType SimpleScript' 
Instance details

Defined in Cardano.Api.Plutus.Internal.Script

HasTypeProxy HashableScriptData Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.ScriptData

HasTypeProxy ScriptData Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.ScriptData

Associated Types

data AsType ScriptData 
Instance details

Defined in Cardano.Api.Plutus.Internal.ScriptData

HasTypeProxy PraosNonce Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

Associated Types

data AsType PraosNonce 
Instance details

Defined in Cardano.Api.ProtocolParameters

HasTypeProxy UpdateProposal Source # 
Instance details

Defined in Cardano.Api.ProtocolParameters

Associated Types

data AsType UpdateProposal 
Instance details

Defined in Cardano.Api.ProtocolParameters

HasTypeProxy EraHistory Source # 
Instance details

Defined in Cardano.Api.Query.Internal.Type.QueryInMode

Associated Types

data AsType EraHistory 
Instance details

Defined in Cardano.Api.Query.Internal.Type.QueryInMode

HasTypeProxy TextEnvelope Source # 
Instance details

Defined in Cardano.Api.Serialise.TextEnvelope.Internal

Associated Types

data AsType TextEnvelope 
Instance details

Defined in Cardano.Api.Serialise.TextEnvelope.Internal

HasTypeProxy TxId Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.TxIn

Associated Types

data AsType TxId 
Instance details

Defined in Cardano.Api.Tx.Internal.TxIn

HasTypeProxy TxMetadata Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.TxMetadata

Associated Types

data AsType TxMetadata 
Instance details

Defined in Cardano.Api.Tx.Internal.TxMetadata

HasTypeProxy AssetName Source # 
Instance details

Defined in Cardano.Api.Value.Internal

Associated Types

data AsType AssetName 
Instance details

Defined in Cardano.Api.Value.Internal

HasTypeProxy PolicyId Source # 
Instance details

Defined in Cardano.Api.Value.Internal

Associated Types

data AsType PolicyId 
Instance details

Defined in Cardano.Api.Value.Internal

HasTypeProxy GovActionId Source # 
Instance details

Defined in Cardano.Api.Internal.Orphans.Serialisation

Associated Types

data AsType GovActionId 
Instance details

Defined in Cardano.Api.Internal.Orphans.Serialisation

HasTypeProxy Term Source # 
Instance details

Defined in Cardano.Api.Serialise.Cbor.Canonical

Associated Types

data AsType Term 
Instance details

Defined in Cardano.Api.Serialise.Cbor.Canonical

HasTypeProxy addrtype => HasTypeProxy (Address addrtype) Source # 
Instance details

Defined in Cardano.Api.Address

Associated Types

data AsType (Address addrtype) 
Instance details

Defined in Cardano.Api.Address

data AsType (Address addrtype) = AsAddress (AsType addrtype)

Methods

proxyToAsType :: Proxy (Address addrtype) -> AsType (Address addrtype) Source #

HasTypeProxy era => HasTypeProxy (AddressInEra era) Source # 
Instance details

Defined in Cardano.Api.Address

Associated Types

data AsType (AddressInEra era) 
Instance details

Defined in Cardano.Api.Address

Typeable era => HasTypeProxy (Certificate era) Source # 
Instance details

Defined in Cardano.Api.Certificate.Internal

Associated Types

data AsType (Certificate era) 
Instance details

Defined in Cardano.Api.Certificate.Internal

HasTypeProxy era => HasTypeProxy (Proposal era) Source # 
Instance details

Defined in Cardano.Api.Governance.Internal.Action.ProposalProcedure

Associated Types

data AsType (Proposal era) 
Instance details

Defined in Cardano.Api.Governance.Internal.Action.ProposalProcedure

HasTypeProxy era => HasTypeProxy (VotingProcedure era) Source # 
Instance details

Defined in Cardano.Api.Governance.Internal.Action.VotingProcedure

Associated Types

data AsType (VotingProcedure era) 
Instance details

Defined in Cardano.Api.Governance.Internal.Action.VotingProcedure

HasTypeProxy era => HasTypeProxy (VotingProcedures era) Source # 
Instance details

Defined in Cardano.Api.Governance.Internal.Action.VotingProcedure

HasTypeProxy a => HasTypeProxy (Hash a) Source # 
Instance details

Defined in Cardano.Api.Hash

Associated Types

data AsType (Hash a) 
Instance details

Defined in Cardano.Api.Hash

data AsType (Hash a) = AsHash (AsType a)

Methods

proxyToAsType :: Proxy (Hash a) -> AsType (Hash a) Source #

HasTypeProxy a => HasTypeProxy (SigningKey a) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Class

Associated Types

data AsType (SigningKey a) 
Instance details

Defined in Cardano.Api.Key.Internal.Class

HasTypeProxy a => HasTypeProxy (VerificationKey a) Source # 
Instance details

Defined in Cardano.Api.Key.Internal.Class

Associated Types

data AsType (VerificationKey a) 
Instance details

Defined in Cardano.Api.Key.Internal.Class

HasTypeProxy lang => HasTypeProxy (PlutusScript lang) Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.Script

Associated Types

data AsType (PlutusScript lang) 
Instance details

Defined in Cardano.Api.Plutus.Internal.Script

HasTypeProxy lang => HasTypeProxy (Script lang) Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.Script

Associated Types

data AsType (Script lang) 
Instance details

Defined in Cardano.Api.Plutus.Internal.Script

data AsType (Script lang) = AsScript (AsType lang)

Methods

proxyToAsType :: Proxy (Script lang) -> AsType (Script lang) Source #

HasTypeProxy era => HasTypeProxy (ScriptInEra era) Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.Script

Associated Types

data AsType (ScriptInEra era) 
Instance details

Defined in Cardano.Api.Plutus.Internal.Script

HasTypeProxy era => HasTypeProxy (KeyWitness era) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Sign

Associated Types

data AsType (KeyWitness era) 
Instance details

Defined in Cardano.Api.Tx.Internal.Sign

HasTypeProxy era => HasTypeProxy (Tx era) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Sign

Associated Types

data AsType (Tx era) 
Instance details

Defined in Cardano.Api.Tx.Internal.Sign

data AsType (Tx era) = AsTx (AsType era)

Methods

proxyToAsType :: Proxy (Tx era) -> AsType (Tx era) Source #

HasTypeProxy era => HasTypeProxy (TxBody era) Source # 
Instance details

Defined in Cardano.Api.Tx.Internal.Sign

Associated Types

data AsType (TxBody era) 
Instance details

Defined in Cardano.Api.Tx.Internal.Sign

data AsType (TxBody era) = AsTxBody (AsType era)

Methods

proxyToAsType :: Proxy (TxBody era) -> AsType (TxBody era) Source #

HasTypeProxy (Credential 'ColdCommitteeRole) Source # 
Instance details

Defined in Cardano.Api.Internal.Orphans.Serialisation

HasTypeProxy (Credential 'DRepRole) Source # 
Instance details

Defined in Cardano.Api.Internal.Orphans.Serialisation

HasTypeProxy (Credential 'HotCommitteeRole) Source # 
Instance details

Defined in Cardano.Api.Internal.Orphans.Serialisation

(HasTypeProxy era, HasTypeProxy lang) => HasTypeProxy (PlutusScriptInEra era lang) Source # 
Instance details

Defined in Cardano.Api.Plutus.Internal.Script

Associated Types

data AsType (PlutusScriptInEra era lang) 
Instance details

Defined in Cardano.Api.Plutus.Internal.Script

asType :: HasTypeProxy t => AsType t Source #

Provide type proxy from the already existing HasTypeProxy instance

data Proxy (t :: k) Source #

Proxy is a type that holds no data, but has a phantom parameter of arbitrary type (or even kind). Its use is to provide type information, even though there is no value available of that type (or it may be too costly to create one).

Historically, Proxy :: Proxy a is a safer alternative to the undefined :: a idiom.

>>> Proxy :: Proxy (Void, Int -> Int)
Proxy

Proxy can even hold types of higher kinds,

>>> Proxy :: Proxy Either
Proxy
>>> Proxy :: Proxy Functor
Proxy
>>> Proxy :: Proxy complicatedStructure
Proxy

Constructors

Proxy 

Instances

Instances details
ApplicativeB (Proxy :: (k -> Type) -> Type) 
Instance details

Defined in Barbies.Internal.ApplicativeB

Methods

bpure :: (forall (a :: k). f a) -> Proxy f

bprod :: forall (f :: k -> Type) (g :: k -> Type). Proxy f -> Proxy g -> Proxy (Product f g)

ConstraintsB (Proxy :: (k -> Type) -> Type) 
Instance details

Defined in Barbies.Internal.ConstraintsB

Methods

baddDicts :: forall (c :: k -> Constraint) (f :: k -> Type). AllB c (Proxy :: (k -> Type) -> Type) => Proxy f -> Proxy (Product (Dict c) f)

DistributiveB (Proxy :: (k -> Type) -> Type) 
Instance details

Defined in Barbies.Internal.DistributiveB

Methods

bdistribute :: forall f (g :: k -> Type). Functor f => f (Proxy g) -> Proxy (Compose f g)

FunctorB (Proxy :: (k -> Type) -> Type) 
Instance details

Defined in Barbies.Internal.FunctorB

Methods

bmap :: (forall (a :: k). f a -> g a) -> Proxy f -> Proxy g

TraversableB (Proxy :: (k -> Type) -> Type) 
Instance details

Defined in Barbies.Internal.TraversableB

Methods

btraverse :: Applicative e => (forall (a :: k). f a -> e (g a)) -> Proxy f -> e (Proxy g)

Generic1 (Proxy :: k -> Type) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep1 (Proxy :: k -> Type)

Since: base-4.6.0.0

Instance details

Defined in GHC.Generics

type Rep1 (Proxy :: k -> Type) = D1 ('MetaData "Proxy" "Data.Proxy" "base" 'False) (C1 ('MetaCons "Proxy" 'PrefixI 'False) (U1 :: k -> Type))

Methods

from1 :: forall (a :: k). Proxy a -> Rep1 (Proxy :: k -> Type) a Source #

to1 :: forall (a :: k). Rep1 (Proxy :: k -> Type) a -> Proxy a Source #

Representable (Proxy :: Type -> Type) 
Instance details

Defined in Data.Functor.Rep

Associated Types

type Rep (Proxy :: Type -> Type) 
Instance details

Defined in Data.Functor.Rep

type Rep (Proxy :: Type -> Type) = Void

Methods

tabulate :: (Rep (Proxy :: Type -> Type) -> a) -> Proxy a

index :: Proxy a -> Rep (Proxy :: Type -> Type) -> a

FromJSON1 (Proxy :: Type -> Type) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

liftParseJSON :: Maybe a -> (Value -> Parser a) -> (Value -> Parser [a]) -> Value -> Parser (Proxy a)

liftParseJSONList :: Maybe a -> (Value -> Parser a) -> (Value -> Parser [a]) -> Value -> Parser [Proxy a]

liftOmittedField :: Maybe a -> Maybe (Proxy a)

ToJSON1 (Proxy :: Type -> Type) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

liftToJSON :: (a -> Bool) -> (a -> Value) -> ([a] -> Value) -> Proxy a -> Value

liftToJSONList :: (a -> Bool) -> (a -> Value) -> ([a] -> Value) -> [Proxy a] -> Value

liftToEncoding :: (a -> Bool) -> (a -> Encoding) -> ([a] -> Encoding) -> Proxy a -> Encoding

liftToEncodingList :: (a -> Bool) -> (a -> Encoding) -> ([a] -> Encoding) -> [Proxy a] -> Encoding

liftOmitField :: (a -> Bool) -> Proxy a -> Bool

MonadZip (Proxy :: Type -> Type)

Since: base-4.9.0.0

Instance details

Defined in Control.Monad.Zip

Methods

mzip :: Proxy a -> Proxy b -> Proxy (a, b) Source #

mzipWith :: (a -> b -> c) -> Proxy a -> Proxy b -> Proxy c Source #

munzip :: Proxy (a, b) -> (Proxy a, Proxy b) Source #

Foldable (Proxy :: Type -> Type)

Since: base-4.7.0.0

Instance details

Defined in Data.Foldable

Methods

fold :: Monoid m => Proxy m -> m Source #

foldMap :: Monoid m => (a -> m) -> Proxy a -> m Source #

foldMap' :: Monoid m => (a -> m) -> Proxy a -> m Source #

foldr :: (a -> b -> b) -> b -> Proxy a -> b Source #

foldr' :: (a -> b -> b) -> b -> Proxy a -> b Source #

foldl :: (b -> a -> b) -> b -> Proxy a -> b Source #

foldl' :: (b -> a -> b) -> b -> Proxy a -> b Source #

foldr1 :: (a -> a -> a) -> Proxy a -> a Source #

foldl1 :: (a -> a -> a) -> Proxy a -> a Source #

toList :: Proxy a -> [a] Source #

null :: Proxy a -> Bool Source #

length :: Proxy a -> Int Source #

elem :: Eq a => a -> Proxy a -> Bool Source #

maximum :: Ord a => Proxy a -> a Source #

minimum :: Ord a => Proxy a -> a Source #

sum :: Num a => Proxy a -> a Source #

product :: Num a => Proxy a -> a Source #

Eq1 (Proxy :: Type -> Type)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Classes

Methods

liftEq :: (a -> b -> Bool) -> Proxy a -> Proxy b -> Bool Source #

Ord1 (Proxy :: Type -> Type)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Classes

Methods

liftCompare :: (a -> b -> Ordering) -> Proxy a -> Proxy b -> Ordering Source #

Read1 (Proxy :: Type -> Type)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Classes

Show1 (Proxy :: Type -> Type)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Classes

Methods

liftShowsPrec :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> Int -> Proxy a -> ShowS Source #

liftShowList :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> [Proxy a] -> ShowS Source #

Contravariant (Proxy :: Type -> Type) 
Instance details

Defined in Data.Functor.Contravariant

Methods

contramap :: (a' -> a) -> Proxy a -> Proxy a' Source #

(>$) :: b -> Proxy b -> Proxy a Source #

Traversable (Proxy :: Type -> Type)

Since: base-4.7.0.0

Instance details

Defined in Data.Traversable

Methods

traverse :: Applicative f => (a -> f b) -> Proxy a -> f (Proxy b) Source #

sequenceA :: Applicative f => Proxy (f a) -> f (Proxy a) Source #

mapM :: Monad m => (a -> m b) -> Proxy a -> m (Proxy b) Source #

sequence :: Monad m => Proxy (m a) -> m (Proxy a) Source #

Alternative (Proxy :: Type -> Type)

Since: base-4.9.0.0

Instance details

Defined in Data.Proxy

Methods

empty :: Proxy a Source #

(<|>) :: Proxy a -> Proxy a -> Proxy a Source #

some :: Proxy a -> Proxy [a] Source #

many :: Proxy a -> Proxy [a] Source #

Applicative (Proxy :: Type -> Type)

Since: base-4.7.0.0

Instance details

Defined in Data.Proxy

Methods

pure :: a -> Proxy a Source #

(<*>) :: Proxy (a -> b) -> Proxy a -> Proxy b Source #

liftA2 :: (a -> b -> c) -> Proxy a -> Proxy b -> Proxy c Source #

(*>) :: Proxy a -> Proxy b -> Proxy b Source #

(<*) :: Proxy a -> Proxy b -> Proxy a Source #

Functor (Proxy :: Type -> Type)

Since: base-4.7.0.0

Instance details

Defined in Data.Proxy

Methods

fmap :: (a -> b) -> Proxy a -> Proxy b Source #

(<$) :: a -> Proxy b -> Proxy a Source #

Monad (Proxy :: Type -> Type)

Since: base-4.7.0.0

Instance details

Defined in Data.Proxy

Methods

(>>=) :: Proxy a -> (a -> Proxy b) -> Proxy b Source #

(>>) :: Proxy a -> Proxy b -> Proxy b Source #

return :: a -> Proxy a Source #

MonadPlus (Proxy :: Type -> Type)

Since: base-4.9.0.0

Instance details

Defined in Data.Proxy

Methods

mzero :: Proxy a Source #

mplus :: Proxy a -> Proxy a -> Proxy a Source #

NFData1 (Proxy :: Type -> Type)

Since: deepseq-1.4.3.0

Instance details

Defined in Control.DeepSeq

Methods

liftRnf :: (a -> ()) -> Proxy a -> () Source #

Hashable1 (Proxy :: Type -> Type) 
Instance details

Defined in Data.Hashable.Class

Methods

liftHashWithSalt :: (Int -> a -> Int) -> Int -> Proxy a -> Int

FromJSON (Proxy a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSON :: Value -> Parser (Proxy a) #

parseJSONList :: Value -> Parser [Proxy a] #

omittedField :: Maybe (Proxy a) #

ToJSON (Proxy a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON :: Proxy a -> Value #

toEncoding :: Proxy a -> Encoding #

toJSONList :: [Proxy a] -> Value #

toEncodingList :: [Proxy a] -> Encoding #

omitField :: Proxy a -> Bool #

Data t => Data (Proxy t)

Since: base-4.7.0.0

Instance details

Defined in Data.Data

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Proxy t -> c (Proxy t) Source #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (Proxy t) Source #

toConstr :: Proxy t -> Constr Source #

dataTypeOf :: Proxy t -> DataType Source #

dataCast1 :: Typeable t0 => (forall d. Data d => c (t0 d)) -> Maybe (c (Proxy t)) Source #

dataCast2 :: Typeable t0 => (forall d e. (Data d, Data e) => c (t0 d e)) -> Maybe (c (Proxy t)) Source #

gmapT :: (forall b. Data b => b -> b) -> Proxy t -> Proxy t Source #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Proxy t -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Proxy t -> r Source #

gmapQ :: (forall d. Data d => d -> u) -> Proxy t -> [u] Source #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Proxy t -> u Source #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Proxy t -> m (Proxy t) Source #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Proxy t -> m (Proxy t) Source #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Proxy t -> m (Proxy t) Source #

Monoid (Proxy s)

Since: base-4.7.0.0

Instance details

Defined in Data.Proxy

Methods

mempty :: Proxy s Source #

mappend :: Proxy s -> Proxy s -> Proxy s Source #

mconcat :: [Proxy s] -> Proxy s Source #

Semigroup (Proxy s)

Since: base-4.9.0.0

Instance details

Defined in Data.Proxy

Methods

(<>) :: Proxy s -> Proxy s -> Proxy s Source #

sconcat :: NonEmpty (Proxy s) -> Proxy s Source #

stimes :: Integral b => b -> Proxy s -> Proxy s Source #

Bounded (Proxy t)

Since: base-4.7.0.0

Instance details

Defined in Data.Proxy

Enum (Proxy s)

Since: base-4.7.0.0

Instance details

Defined in Data.Proxy

Methods

succ :: Proxy s -> Proxy s Source #

pred :: Proxy s -> Proxy s Source #

toEnum :: Int -> Proxy s Source #

fromEnum :: Proxy s -> Int Source #

enumFrom :: Proxy s -> [Proxy s] Source #

enumFromThen :: Proxy s -> Proxy s -> [Proxy s] Source #

enumFromTo :: Proxy s -> Proxy s -> [Proxy s] Source #

enumFromThenTo :: Proxy s -> Proxy s -> Proxy s -> [Proxy s] Source #

Generic (Proxy t) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (Proxy t)

Since: base-4.6.0.0

Instance details

Defined in GHC.Generics

type Rep (Proxy t) = D1 ('MetaData "Proxy" "Data.Proxy" "base" 'False) (C1 ('MetaCons "Proxy" 'PrefixI 'False) (U1 :: Type -> Type))

Methods

from :: Proxy t -> Rep (Proxy t) x Source #

to :: Rep (Proxy t) x -> Proxy t Source #

Ix (Proxy s)

Since: base-4.7.0.0

Instance details

Defined in Data.Proxy

Methods

range :: (Proxy s, Proxy s) -> [Proxy s] Source #

index :: (Proxy s, Proxy s) -> Proxy s -> Int Source #

unsafeIndex :: (Proxy s, Proxy s) -> Proxy s -> Int Source #

inRange :: (Proxy s, Proxy s) -> Proxy s -> Bool Source #

rangeSize :: (Proxy s, Proxy s) -> Int Source #

unsafeRangeSize :: (Proxy s, Proxy s) -> Int Source #

Read (Proxy t)

Since: base-4.7.0.0

Instance details

Defined in Data.Proxy

Show (Proxy s)

Since: base-4.7.0.0

Instance details

Defined in Data.Proxy

Default (Proxy a) 
Instance details

Defined in Data.Default.Internal

Methods

def :: Proxy a #

NFData (Proxy a)

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

Methods

rnf :: Proxy a -> () Source #

Eq (Proxy s)

Since: base-4.7.0.0

Instance details

Defined in Data.Proxy

Methods

(==) :: Proxy s -> Proxy s -> Bool Source #

(/=) :: Proxy s -> Proxy s -> Bool Source #

Ord (Proxy s)

Since: base-4.7.0.0

Instance details

Defined in Data.Proxy

Methods

compare :: Proxy s -> Proxy s -> Ordering Source #

(<) :: Proxy s -> Proxy s -> Bool Source #

(<=) :: Proxy s -> Proxy s -> Bool Source #

(>) :: Proxy s -> Proxy s -> Bool Source #

(>=) :: Proxy s -> Proxy s -> Bool Source #

max :: Proxy s -> Proxy s -> Proxy s Source #

min :: Proxy s -> Proxy s -> Proxy s Source #

Abelian (Proxy x) 
Instance details

Defined in Data.Group

Cyclic (Proxy x) 
Instance details

Defined in Data.Group

Methods

generator :: Proxy x

Group (Proxy x) 
Instance details

Defined in Data.Group

Methods

invert :: Proxy x -> Proxy x

(~~) :: Proxy x -> Proxy x -> Proxy x

pow :: Integral x0 => Proxy x -> x0 -> Proxy x

Hashable (Proxy a) 
Instance details

Defined in Data.Hashable.Class

Methods

hashWithSalt :: Int -> Proxy a -> Int

hash :: Proxy a -> Int

MonoFoldable (Proxy a) 
Instance details

Defined in Data.MonoTraversable

Methods

ofoldMap :: Monoid m => (Element (Proxy a) -> m) -> Proxy a -> m

ofoldr :: (Element (Proxy a) -> b -> b) -> b -> Proxy a -> b

ofoldl' :: (a0 -> Element (Proxy a) -> a0) -> a0 -> Proxy a -> a0

otoList :: Proxy a -> [Element (Proxy a)]

oall :: (Element (Proxy a) -> Bool) -> Proxy a -> Bool

oany :: (Element (Proxy a) -> Bool) -> Proxy a -> Bool

onull :: Proxy a -> Bool

olength :: Proxy a -> Int

olength64 :: Proxy a -> Int64

ocompareLength :: Integral i => Proxy a -> i -> Ordering

otraverse_ :: Applicative f => (Element (Proxy a) -> f b) -> Proxy a -> f ()

ofor_ :: Applicative f => Proxy a -> (Element (Proxy a) -> f b) -> f ()

omapM_ :: Applicative m => (Element (Proxy a) -> m ()) -> Proxy a -> m ()

oforM_ :: Applicative m => Proxy a -> (Element (Proxy a) -> m ()) -> m ()

ofoldlM :: Monad m => (a0 -> Element (Proxy a) -> m a0) -> a0 -> Proxy a -> m a0

ofoldMap1Ex :: Semigroup m => (Element (Proxy a) -> m) -> Proxy a -> m

ofoldr1Ex :: (Element (Proxy a) -> Element (Proxy a) -> Element (Proxy a)) -> Proxy a -> Element (Proxy a)

ofoldl1Ex' :: (Element (Proxy a) -> Element (Proxy a) -> Element (Proxy a)) -> Proxy a -> Element (Proxy a)

headEx :: Proxy a -> Element (Proxy a)

lastEx :: Proxy a -> Element (Proxy a)

unsafeHead :: Proxy a -> Element (Proxy a)

unsafeLast :: Proxy a -> Element (Proxy a)

maximumByEx :: (Element (Proxy a) -> Element (Proxy a) -> Ordering) -> Proxy a -> Element (Proxy a)

minimumByEx :: (Element (Proxy a) -> Element (Proxy a) -> Ordering) -> Proxy a -> Element (Proxy a)

oelem :: Element (Proxy a) -> Proxy a -> Bool

onotElem :: Element (Proxy a) -> Proxy a -> Bool

MonoFunctor (Proxy a) 
Instance details

Defined in Data.MonoTraversable

Methods

omap :: (Element (Proxy a) -> Element (Proxy a)) -> Proxy a -> Proxy a

MonoPointed (Proxy a) 
Instance details

Defined in Data.MonoTraversable

Methods

opoint :: Element (Proxy a) -> Proxy a

MonoTraversable (Proxy a) 
Instance details

Defined in Data.MonoTraversable

Methods

otraverse :: Applicative f => (Element (Proxy a) -> f (Element (Proxy a))) -> Proxy a -> f (Proxy a)

omapM :: Applicative m => (Element (Proxy a) -> m (Element (Proxy a))) -> Proxy a -> m (Proxy a)

Serialise (Proxy a) 
Instance details

Defined in Codec.Serialise.Class

type AllB (c :: k -> Constraint) (Proxy :: (k -> Type) -> Type) 
Instance details

Defined in Barbies.Internal.ConstraintsB

type AllB (c :: k -> Constraint) (Proxy :: (k -> Type) -> Type) = ()
type Rep1 (Proxy :: k -> Type)

Since: base-4.6.0.0

Instance details

Defined in GHC.Generics

type Rep1 (Proxy :: k -> Type) = D1 ('MetaData "Proxy" "Data.Proxy" "base" 'False) (C1 ('MetaCons "Proxy" 'PrefixI 'False) (U1 :: k -> Type))
type Rep (Proxy :: Type -> Type) 
Instance details

Defined in Data.Functor.Rep

type Rep (Proxy :: Type -> Type) = Void
type Rep (Proxy t)

Since: base-4.6.0.0

Instance details

Defined in GHC.Generics

type Rep (Proxy t) = D1 ('MetaData "Proxy" "Data.Proxy" "base" 'False) (C1 ('MetaCons "Proxy" 'PrefixI 'False) (U1 :: Type -> Type))
type Element (Proxy a) 
Instance details

Defined in Data.MonoTraversable

type Element (Proxy a) = a

data FromSomeType (c :: Type -> Constraint) b where Source #

Constructors

FromSomeType :: forall (c :: Type -> Constraint) a b. c a => AsType a -> (a -> b) -> FromSomeType c b