Moduleweb3-solidity-1.1.0.0Haskell2010
Data.Solidity.Event.Internal
This module is internal, the purpose is to define helper classes and types to assist in event decoding. The user of this library should have no need to use this directly in application code.
- 1 type
- 8 classes
- Packageweb3-solidity-1.1.0.0
- Exports9
- LanguageHaskell2010
- LicenceApache-2.0
- SourceInternal.hs
Generic representation to HList representation
Instances3HListRep
HListRep (NP f as') as => HListRep (SOP f '[as']) asDefined in web3-solidity-1.1.0.0 · Data.Solidity.Event.InternalHListRep (NP I '[]) '[]Defined in web3-solidity-1.1.0.0 · Data.Solidity.Event.InternalHListRep (NP I as) as => HListRep (NP I (a ': as)) (a ': as)Defined in web3-solidity-1.1.0.0 · Data.Solidity.Event.Internal
Sort a Tagged HList
Associated types
type family InsertCmp' (b :: Ordering) x y (ys :: [Type]) :: [Type]
Methods
insertCmp :: Proxy b -> x -> y -> HList ys -> HList (InsertCmp' b x y ys)
Unwrap all the Tagged items in an HList
Methods
mergeHList :: HList as -> HList bs -> HList (Concat as bs)
Instances2HListMerge
HListMerge '[] bsDefined in web3-solidity-1.1.0.0 · Data.Solidity.Event.InternalHListMerge as bs => HListMerge (a ': as) bsDefined in web3-solidity-1.1.0.0 · Data.Solidity.Event.Internal
Associated types
type family MergeSort' (as :: [Type]) (bs :: [Type]) :: [Type]
Methods
mergeSortHList :: HList as -> HList bs -> HList (MergeSort' as bs)
Instances1HListMergeSort
(HListMerge as bs, Concat as bs ~ cs, Sort cs, Sort' cs ~ cs') => HListMergeSort as bsDefined in web3-solidity-1.1.0.0 · Data.Solidity.Event.Internal
Associated types
type family MergeIndexedArguments' (as :: [Type]) (bs :: [Type]) :: [Type]
Methods
mergeIndexedArguments :: HList as -> HList bs -> HList (MergeIndexedArguments' as bs)
Instances1MergeIndexedArguments
(HListMergeSort as bs, MergeSort' as bs ~ cs, UnTag cs, UnTag cs' ~ ds) => MergeIndexedArguments as bsDefined in web3-solidity-1.1.0.0 · Data.Solidity.Event.Internal