serokell-util-0.10.0: General-purpose functions by Serokell

Safe HaskellNone
LanguageHaskell2010

Serokell.Arbitrary

Contents

Description

Arbitrary instances for Serokell datatypes

Documentation

newtype VariantNoBytes Source #

Constructors

NoBytes 

Fields

Instances
Eq VariantNoBytes Source # 
Instance details

Defined in Serokell.Arbitrary

Show VariantNoBytes Source # 
Instance details

Defined in Serokell.Arbitrary

Generic VariantNoBytes Source # 
Instance details

Defined in Serokell.Arbitrary

Associated Types

type Rep VariantNoBytes :: * -> * #

Arbitrary VariantNoBytes Source # 
Instance details

Defined in Serokell.Arbitrary

type Rep VariantNoBytes Source # 
Instance details

Defined in Serokell.Arbitrary

type Rep VariantNoBytes = D1 (MetaData "VariantNoBytes" "Serokell.Arbitrary" "serokell-util-0.10.0-ABO96GElPTlE59q6YkXtOP" True) (C1 (MetaCons "NoBytes" PrefixI True) (S1 (MetaSel (Just "getVariant") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Variant)))

newtype VariantOnlyBytes Source #

Constructors

OnlyBytes 

Fields

Instances
Eq VariantOnlyBytes Source # 
Instance details

Defined in Serokell.Arbitrary

Show VariantOnlyBytes Source # 
Instance details

Defined in Serokell.Arbitrary

Generic VariantOnlyBytes Source # 
Instance details

Defined in Serokell.Arbitrary

Associated Types

type Rep VariantOnlyBytes :: * -> * #

Arbitrary VariantOnlyBytes Source # 
Instance details

Defined in Serokell.Arbitrary

type Rep VariantOnlyBytes Source # 
Instance details

Defined in Serokell.Arbitrary

type Rep VariantOnlyBytes = D1 (MetaData "VariantOnlyBytes" "Serokell.Arbitrary" "serokell-util-0.10.0-ABO96GElPTlE59q6YkXtOP" True) (C1 (MetaCons "OnlyBytes" PrefixI True) (S1 (MetaSel (Just "getVarBytes") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Variant)))

Orphan instances