Module
Data.Generic.Rep.Monoid
- Package
- purescript-generics-repDEPRECATED
- Repository
- purescript/purescript-generics-rep
#GenericMonoid Source
class GenericMonoid a where
Members
genericMempty' :: a
Instances
GenericMonoid NoArguments
(GenericMonoid a, GenericMonoid b) => GenericMonoid (Product a b)
(GenericMonoid a) => GenericMonoid (Constructor name a)
(Monoid a) => GenericMonoid (Argument a)
(GenericMonoid a) => GenericMonoid (Rec a)
(Monoid a) => GenericMonoid (Field name a)
#genericMempty Source
genericMempty :: forall rep a. Generic a rep => GenericMonoid rep => a
A Generic
implementation of the mempty
member from the Monoid
type class.