Module
Classless.Arbitrary
- Package
- purescript-classless-arbitrary
- Repository
- thought2/purescript-classless-arbitrary
#multiplicative Source
multiplicative :: forall a. Arbitrary a -> Arbitrary (Multiplicative a)
#nonEmptyArray Source
nonEmptyArray :: forall a. Arbitrary a -> Arbitrary (NonEmptyArray a)
#GetCases Source
class GetCases :: Row Type -> Type -> Row Type -> Constraint
class GetCases (ri :: Row Type) (rep :: Type) (ro :: Row Type) | rep ri -> ro where
Members
Instances
(Cons sym (Gen (Constructor sym genRep)) () ro, Cons sym prodSpec () ri, SequenceProduct prodSpec genRep Gen, IsSymbol sym) => GetCases ri (Constructor sym rep) ro
(GetCases riA repA roA, GetCases riB repB roB, Cons sym y () riA, Cons sym y riB ri, Lacks sym riB, TypeEquals repA (Constructor sym x), HMap MapInl (Record roA) (Record roA'), HMap MapInr (Record roB) (Record roB'), Union roA' roB' ro, IsSymbol sym, Union riA riB ri, Union riB riA ri) => GetCases ri (Sum repA repB) ro
#HomRecToNEA Source
class HomRecToNEA :: Row Type -> Type -> Constraint
class HomRecToNEA r a where
Members
homRecToNEA :: Record r -> NonEmptyArray a
Instances
(Homogeneous r a, HFoldl ToNEA Unit (Record r) (NonEmptyArray a)) => HomRecToNEA r a
#ToNEA Source
data ToNEA
Constructors
Instances
Folding ToNEA Unit a (NonEmptyArray a)
Folding ToNEA (NonEmptyArray a) a (NonEmptyArray a)
- Modules
- Classless.
Arbitrary