Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
genMultiAssetZero ∷ Gen MultiAsset Source #
For tests, because insertMultiAsset
called through genMultiAsset
filters out zero values
genPositiveInt ∷ Gen Int Source #
Better generator for a positive Int that explores more values
genNegativeInt ∷ Gen Int Source #
Better generator for a Negative Int that explores more values
genNonNegativeInt ∷ Gen Int Source #
Better generator for a Non-Negative Int that explores more values
Orphan instances
Arbitrary AssetName Source # | |
Arbitrary MaryValue Source # | |
Arbitrary MultiAsset Source # | |
arbitrary ∷ Gen MultiAsset Source # shrink ∷ MultiAsset → [MultiAsset] Source # | |
Arbitrary PolicyID Source # | |
Arbitrary (CompactForm MaryValue) Source # | |
(EraTxOut era, EraTxCert era, Era era, Arbitrary (TxOut era), Arbitrary (PParamsHKD StrictMaybe era), Arbitrary (TxCert era)) ⇒ Arbitrary (MaryTxBody era) Source # | |
arbitrary ∷ Gen (MaryTxBody era) Source # shrink ∷ MaryTxBody era → [MaryTxBody era] Source # |