Copyright | Aleksandr Krupenkin 2016-2024 |
---|---|
License | Apache-2.0 |
Maintainer | mail@akru.me |
Stability | experimental |
Portability | noportable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Data.Solidity.Prim.List
Description
Ethereum Abi dynamic and static size vectors based on linked lists.
Fixed size linked list
A Typed-level sized List equivalent to [a]
Instances
Generic (ListN n a) | |
(NatWithinBound Int n, KnownNat n) => IsList (ListN n a) Source # | |
Show a => Show (ListN n a) | |
NormalForm a => NormalForm (ListN n a) | |
Defined in Basement.Sized.List Methods toNormalForm :: ListN n a -> () # | |
Eq a => Eq (ListN n a) | |
Ord a => Ord (ListN n a) | |
(NatWithinBound Int n, KnownNat n, AbiGet a) => AbiGet (ListN n a) Source # | |
(AbiPut a, KnownNat n, 1 <= (n + 1)) => AbiPut (ListN n a) Source # | |
(AbiType a, KnownNat n) => AbiType (ListN n a) Source # | |
type Rep (ListN n a) | |
Defined in Basement.Sized.List | |
type Item (ListN n a) Source # | |
Defined in Data.Solidity.Prim.List |
Orphan instances
AbiGet a => AbiGet [a] Source # | |
AbiPut a => AbiPut [a] Source # | |
AbiType [a] Source # | |
(NatWithinBound Int n, KnownNat n) => IsList (ListN n a) Source # | |
(NatWithinBound Int n, KnownNat n, AbiGet a) => AbiGet (ListN n a) Source # | |
(AbiPut a, KnownNat n, 1 <= (n + 1)) => AbiPut (ListN n a) Source # | |
(AbiType a, KnownNat n) => AbiType (ListN n a) Source # | |