base-deriving-via-0.1.0.2: A general hook newtype for use with deriving via
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.DerivingVia.GHC.Generics.Semigroup

Description

GHC.Generics definition of <>

Documentation

class GSemigroup rep where Source #

Methods

gsappend ∷ rep x → rep x → rep x Source #

Instances

Instances details
GSemigroup (U1TypeType) Source # 
Instance details

Defined in Data.DerivingVia.GHC.Generics.Semigroup

Methods

gsappendU1 x → U1 x → U1 x Source #

GSemigroup (V1TypeType) Source # 
Instance details

Defined in Data.DerivingVia.GHC.Generics.Semigroup

Methods

gsappendV1 x → V1 x → V1 x Source #

(GSemigroup l, GSemigroup r) ⇒ GSemigroup (l :*: r) Source # 
Instance details

Defined in Data.DerivingVia.GHC.Generics.Semigroup

Methods

gsappend ∷ (l :*: r) x → (l :*: r) x → (l :*: r) x Source #

(TypeError ((('Text "No Generics definition of " :<>: 'ShowType Semigroup) :<>: 'Text " for types with multiple constructors ") :<>: 'ShowType (l :+: r)) ∷ Constraint) ⇒ GSemigroup (l :+: r) Source # 
Instance details

Defined in Data.DerivingVia.GHC.Generics.Semigroup

Methods

gsappend ∷ (l :+: r) x → (l :+: r) x → (l :+: r) x Source #

Monoid c ⇒ GSemigroup (K1 i c ∷ TypeType) Source # 
Instance details

Defined in Data.DerivingVia.GHC.Generics.Semigroup

Methods

gsappendK1 i c x → K1 i c x → K1 i c x Source #

GSemigroup f ⇒ GSemigroup (M1 i c f) Source # 
Instance details

Defined in Data.DerivingVia.GHC.Generics.Semigroup

Methods

gsappendM1 i c f x → M1 i c f x → M1 i c f x Source #