Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Documentation
class Semigroup a where Source #
When providing a new instance, you should ensure it satisfies the one law: * Associativity: x + (y + z) ≡ (x + y) + z
Instances
Semigroup Boolean Source # | |
Semigroup (Endo a) Source # | |
Semigroup a => Semigroup (Identity a) Source # | |
Semigroup a => Semigroup (Maybe a) Source # | |
Semigroup (Stack a) Source # | |
(Semigroup e, Semigroup a) => Semigroup (Validation e a) Source # | |
Defined in Pandora.Paradigm.Primary.Functor.Validation (+) :: Validation e a -> Validation e a -> Validation e a Source # | |
(Semigroup a, Semigroup b) => Semigroup (Product a b) Source # | |
(Semigroup e, Semigroup a) => Semigroup (Conclusion e a) Source # | |
Defined in Pandora.Paradigm.Primary.Functor.Conclusion (+) :: Conclusion e a -> Conclusion e a -> Conclusion e a Source # | |
(Semigroup a, forall b. Semigroup b => Semigroup (t b)) => Semigroup (Construction t a) Source # | |
Defined in Pandora.Paradigm.Primary.Transformer.Construction (+) :: Construction t a -> Construction t a -> Construction t a Source # | |
Semigroup a => Semigroup (Tagged tag a) Source # | |
Semigroup a => Semigroup (Constant a b) Source # | |