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