Module

Data.Variant.Gen

Package
purescript-variant-gen
Repository
purescript-open-community/purescript-variant-gen

#genVariantUniform Source

genVariantUniform :: forall genRows rowList variantRows m. MonadGen m => RowToList genRows rowList => GenVariantUniformNonEmptyList rowList genRows variantRows m => Record genRows -> m (Variant variantRows)

#GenVariantUniformNonEmptyList Source

class GenVariantUniformNonEmptyList :: RowList Type -> Row Type -> Row Type -> (Type -> Type) -> Constraintclass GenVariantUniformNonEmptyList (rowList :: RowList Type) (genRows :: Row Type) (variantRows :: Row Type) (m :: Type -> Type) | rowList -> genRows variantRows m where

Members

Instances

#GenVariantUniformList Source

class GenVariantUniformList :: RowList Type -> Row Type -> Row Type -> (Type -> Type) -> Constraintclass GenVariantUniformList (rowList :: RowList Type) (genRows :: Row Type) (variantRows :: Row Type) (m :: Type -> Type) | rowList -> genRows variantRows m where

Members

Instances

#genVariantFrequency Source

genVariantFrequency :: forall genRows rowList variantRows m. MonadGen m => RowToList genRows rowList => GenVariantFrequencyNonEmptyList rowList genRows variantRows m => Record genRows -> m (Variant variantRows)

#GenVariantFrequencyNonEmptyList Source

class GenVariantFrequencyNonEmptyList :: RowList Type -> Row Type -> Row Type -> (Type -> Type) -> Constraintclass GenVariantFrequencyNonEmptyList (rowList :: RowList Type) (genRows :: Row Type) (variantRows :: Row Type) (m :: Type -> Type) | rowList -> genRows variantRows m where

Members

Instances

#GenVariantFrequencyList Source

class GenVariantFrequencyList :: RowList Type -> Row Type -> Row Type -> (Type -> Type) -> Constraintclass GenVariantFrequencyList (rowList :: RowList Type) (genRows :: Row Type) (variantRows :: Row Type) (m :: Type -> Type) | rowList -> genRows variantRows m where

Members

Instances