Semigroup Benchmark Source # | |
Instance detailsDefined in Distribution.Types.Benchmark |
Semigroup BenchmarkInterface Source # | |
Instance detailsDefined in Distribution.Types.BenchmarkInterface |
Semigroup BuildInfo Source # | |
Instance detailsDefined in Distribution.Types.BuildInfo |
Semigroup Component Source # | |
Instance detailsDefined in Distribution.Types.Component |
Semigroup DependencyMap Source # | |
Instance detailsDefined in Distribution.Types.DependencyMap |
Semigroup Executable Source # | |
Instance detailsDefined in Distribution.Types.Executable |
Semigroup ExecutableScope Source # | Any like semigroup, where ExecutablePrivate is 'Any True'
|
Instance detailsDefined in Distribution.Types.ExecutableScope |
Semigroup FlagAssignment Source # | |
Instance detailsDefined in Distribution.Types.Flag |
Semigroup ForeignLib Source # | |
Instance detailsDefined in Distribution.Types.ForeignLib |
Semigroup ForeignLibType Source # | |
Instance detailsDefined in Distribution.Types.ForeignLibType |
Semigroup Library Source # | |
Instance detailsDefined in Distribution.Types.Library |
Semigroup LibraryVisibility Source # | |
Instance detailsDefined in Distribution.Types.LibraryVisibility |
Semigroup SetupBuildInfo Source # | |
Instance detailsDefined in Distribution.Types.SetupBuildInfo |
Semigroup TestSuite Source # | |
Instance detailsDefined in Distribution.Types.TestSuite |
Semigroup TestSuiteInterface Source # | |
Instance detailsDefined in Distribution.Types.TestSuiteInterface |
Semigroup UnqualComponentName Source # | |
Instance detailsDefined in Distribution.Types.UnqualComponentName |
Semigroup ShortText Source # | |
Instance detailsDefined in Distribution.Utils.ShortText |
Semigroup ByteArray Source # | Since: base-4.17.0.0 |
Instance detailsDefined in Data.Array.Byte |
Semigroup Builder Source # | |
Instance detailsDefined in Data.ByteString.Builder.Internal |
Semigroup ByteString Source # | |
Instance detailsDefined in Data.ByteString.Internal.Type |
Semigroup ByteString Source # | |
Instance detailsDefined in Data.ByteString.Lazy.Internal |
Semigroup ShortByteString Source # | |
Instance detailsDefined in Data.ByteString.Short.Internal |
Semigroup IntSet Source # | Since: containers-0.5.7 |
Instance detailsDefined in Data.IntSet.Internal |
Semigroup Unit Source # | |
Instance detailsDefined in Control.DeepSeq |
Semigroup Void # | |
Instance detailsDefined in GHC.Internal.Base |
Semigroup All # | |
Instance detailsDefined in GHC.Internal.Data.Semigroup.Internal |
Semigroup Any # | |
Instance detailsDefined in GHC.Internal.Data.Semigroup.Internal |
Semigroup Ordering # | |
Instance detailsDefined in GHC.Internal.Base |
Semigroup OsString # | |
Instance detailsDefined in System.OsString.Internal.Types |
Semigroup PosixString # | |
Instance detailsDefined in System.OsString.Internal.Types |
Semigroup WindowsString # | |
Instance detailsDefined in System.OsString.Internal.Types |
Semigroup Doc Source # | |
Instance detailsDefined in Text.PrettyPrint.HughesPJ |
Semigroup Builder Source # | |
Instance detailsDefined in Data.Text.Internal.Builder |
Semigroup StrictBuilder Source # | Concatenation of StrictBuilder is right-biased:
the right builder will be run first. This allows a builder to
run tail-recursively when it was accumulated left-to-right. |
Instance detailsDefined in Data.Text.Internal.StrictBuilder |
Semigroup CalendarDiffDays Source # | Additive |
Instance detailsDefined in Data.Time.Calendar.CalendarDiffDays |
Semigroup CalendarDiffTime Source # | Additive |
Instance detailsDefined in Data.Time.LocalTime.Internal.CalendarDiffTime |
Semigroup () # | |
Instance detailsDefined in GHC.Internal.Base |
Semigroup (DList a) Source # | |
Instance detailsDefined in Distribution.Compat.DList |
Ord a => Semigroup (NonEmptySet a) Source # | Note: there aren't Monoid instance. |
Instance detailsDefined in Distribution.Compat.NonEmptySet |
Semigroup (First' a) Source # | |
Instance detailsDefined in Distribution.Compat.Semigroup |
Semigroup (Last' a) Source # | |
Instance detailsDefined in Distribution.Compat.Semigroup |
Semigroup a => Semigroup (Option' a) Source # | |
Instance detailsDefined in Distribution.Compat.Semigroup |
Semigroup a => Semigroup (PerCompilerFlavor a) Source # | |
Instance detailsDefined in Distribution.Compiler |
Semigroup (Condition a) Source # | |
Instance detailsDefined in Distribution.Types.Condition |
Semigroup (FromMaybe b) Source # | |
Instance detailsDefined in Data.Foldable1 |
Semigroup a => Semigroup (JoinWith a) Source # | |
Instance detailsDefined in Data.Foldable1 |
Semigroup (NonEmptyDList a) Source # | |
Instance detailsDefined in Data.Foldable1 Methods (<>) :: NonEmptyDList a -> NonEmptyDList a -> NonEmptyDList a # sconcat :: NonEmpty (NonEmptyDList a) -> NonEmptyDList a # stimes :: Integral b => b -> NonEmptyDList a -> NonEmptyDList a # |
Semigroup (Comparison a) Source # | (<> ) on comparisons combines results with (<> )
@Ordering . Without newtypes this equals liftA2 (liftA2
(<> )) .
(<>) :: Comparison a -> Comparison a -> Comparison a
Comparison cmp <> Comparison cmp' = Comparison a a' ->
cmp a a' <> cmp a a'
|
Instance detailsDefined in Data.Functor.Contravariant |
Semigroup (Equivalence a) Source # | (<> ) on equivalences uses logical conjunction (&& )
on the results. Without newtypes this equals liftA2
(liftA2 (&&)) .
(<>) :: Equivalence a -> Equivalence a -> Equivalence a
Equivalence equiv <> Equivalence equiv' = Equivalence a b ->
equiv a b && equiv' a b
|
Instance detailsDefined in Data.Functor.Contravariant |
Semigroup (Predicate a) Source # | (<> ) on predicates uses logical conjunction (&& ) on
the results. Without newtypes this equals liftA2 (&&) .
(<>) :: Predicate a -> Predicate a -> Predicate a
Predicate pred <> Predicate pred' = Predicate a ->
pred a && pred' a
|
Instance detailsDefined in Data.Functor.Contravariant |
Semigroup (First a) Source # | Since: base-4.9.0.0 |
Instance detailsDefined in Data.Semigroup |
Semigroup (Last a) Source # | Since: base-4.9.0.0 |
Instance detailsDefined in Data.Semigroup |
Ord a => Semigroup (Max a) Source # | Since: base-4.9.0.0 |
Instance detailsDefined in Data.Semigroup |
Ord a => Semigroup (Min a) Source # | Since: base-4.9.0.0 |
Instance detailsDefined in Data.Semigroup |
Monoid m => Semigroup (WrappedMonoid m) Source # | Since: base-4.9.0.0 |
Instance detailsDefined in Data.Semigroup |
Semigroup (PutM ()) Source # | |
Instance detailsDefined in Data.Binary.Put |
Semigroup (IntMap a) Source # | Since: containers-0.5.7 |
Instance detailsDefined in Data.IntMap.Internal |
Semigroup (Seq a) Source # | Since: containers-0.5.7 |
Instance detailsDefined in Data.Sequence.Internal |
Ord a => Semigroup (Intersection a) Source # | |
Instance detailsDefined in Data.Set.Internal |
Semigroup (MergeSet a) Source # | |
Instance detailsDefined in Data.Set.Internal |
Ord a => Semigroup (Set a) Source # | Since: containers-0.5.7 |
Instance detailsDefined in Data.Set.Internal |
Semigroup (NonEmpty a) # | |
Instance detailsDefined in GHC.Internal.Base |
Semigroup a => Semigroup (Identity a) # | |
Instance detailsDefined in GHC.Internal.Data.Functor.Identity |
Semigroup (First a) # | |
Instance detailsDefined in GHC.Internal.Data.Monoid |
Semigroup (Last a) # | |
Instance detailsDefined in GHC.Internal.Data.Monoid |
Semigroup a => Semigroup (Down a) # | |
Instance detailsDefined in GHC.Internal.Data.Ord |
Semigroup a => Semigroup (Dual a) # | |
Instance detailsDefined in GHC.Internal.Data.Semigroup.Internal |
Semigroup (Endo a) # | |
Instance detailsDefined in GHC.Internal.Data.Semigroup.Internal |
Num a => Semigroup (Product a) # | |
Instance detailsDefined in GHC.Internal.Data.Semigroup.Internal |
Num a => Semigroup (Sum a) # | |
Instance detailsDefined in GHC.Internal.Data.Semigroup.Internal |
(Generic a, Semigroup (Rep a ())) => Semigroup (Generically a) # | |
Instance detailsDefined in GHC.Internal.Generics |
Semigroup p => Semigroup (Par1 p) # | |
Instance detailsDefined in GHC.Internal.Generics |
Semigroup a => Semigroup (Q a) # | |
Instance detailsDefined in GHC.Internal.TH.Syntax |
Semigroup a => Semigroup (IO a) # | |
Instance detailsDefined in GHC.Internal.Base |
Semigroup (Doc a) Source # | |
Instance detailsDefined in Text.PrettyPrint.Annotated.HughesPJ |
Semigroup a => Semigroup (Maybe a) # | |
Instance detailsDefined in GHC.Internal.Base |
Semigroup a => Semigroup (Solo a) # | |
Instance detailsDefined in GHC.Internal.Base |
Semigroup [a] # | |
Instance detailsDefined in GHC.Internal.Base |
Semigroup a => Semigroup (Op a b) Source # | (<> ) @(Op a b) without newtypes is (<> ) @(b->a) =
liftA2 (<> ) . This lifts the Semigroup operation
(<> ) over the output of a .
(<>) :: Op a b -> Op a b -> Op a b
Op f <> Op g = Op a -> f a <> g a
|
Instance detailsDefined in Data.Functor.Contravariant |
Ord k => Semigroup (Map k v) Source # | |
Instance detailsDefined in Data.Map.Internal |
Semigroup (Either a b) # | |
Instance detailsDefined in GHC.Internal.Data.Either |
Semigroup (Proxy s) # | |
Instance detailsDefined in GHC.Internal.Data.Proxy |
Semigroup (U1 p) # | |
Instance detailsDefined in GHC.Internal.Generics |
Semigroup (V1 p) # | |
Instance detailsDefined in GHC.Internal.Generics |
(Semigroup a, Semigroup b) => Semigroup (a, b) # | |
Instance detailsDefined in GHC.Internal.Base |
Semigroup b => Semigroup (a -> b) # | |
Instance detailsDefined in GHC.Internal.Base |
(Semigroup a, Semigroup c) => Semigroup (CondTree v c a) Source # | |
Instance detailsDefined in Distribution.Types.CondTree |
Semigroup a => Semigroup (Const a b) # | |
Instance detailsDefined in GHC.Internal.Data.Functor.Const |
(Applicative f, Semigroup a) => Semigroup (Ap f a) # | |
Instance detailsDefined in GHC.Internal.Data.Monoid |
Alternative f => Semigroup (Alt f a) # | |
Instance detailsDefined in GHC.Internal.Data.Semigroup.Internal |
Semigroup (f p) => Semigroup (Rec1 f p) # | |
Instance detailsDefined in GHC.Internal.Generics |
Semigroup a => Semigroup (Constant a b) Source # | |
Instance detailsDefined in Data.Functor.Constant |
(Semigroup a, Semigroup b, Semigroup c) => Semigroup (a, b, c) # | |
Instance detailsDefined in GHC.Internal.Base Methods (<>) :: (a, b, c) -> (a, b, c) -> (a, b, c) # sconcat :: NonEmpty (a, b, c) -> (a, b, c) # stimes :: Integral b0 => b0 -> (a, b, c) -> (a, b, c) # |
(Semigroup (f a), Semigroup (g a)) => Semigroup (Product f g a) Source # | Since: base-4.16.0.0 |
Instance detailsDefined in Data.Functor.Product |
(Semigroup (f p), Semigroup (g p)) => Semigroup ((f :*: g) p) # | |
Instance detailsDefined in GHC.Internal.Generics |
Semigroup c => Semigroup (K1 i c p) # | |
Instance detailsDefined in GHC.Internal.Generics |
Semigroup a => Semigroup (ParsecT s u m a) Source # | The Semigroup instance for ParsecT is used to append the result
of several parsers, for example: (many $ char a ) <> (many $ char b )
The above will parse a string like "aabbb" and return a successful
parse result "aabbb" . Compare against the below which will
produce a result of "bbb" for the same input: (many $ char a ) >> (many $ char b )
(many $ char a ) *> (many $ char b )
Since: parsec-3.1.12 |
Instance detailsDefined in Text.Parsec.Prim |
(Semigroup a, Semigroup b, Semigroup c, Semigroup d) => Semigroup (a, b, c, d) # | |
Instance detailsDefined in GHC.Internal.Base Methods (<>) :: (a, b, c, d) -> (a, b, c, d) -> (a, b, c, d) # sconcat :: NonEmpty (a, b, c, d) -> (a, b, c, d) # stimes :: Integral b0 => b0 -> (a, b, c, d) -> (a, b, c, d) # |
Semigroup (f (g a)) => Semigroup (Compose f g a) Source # | Since: base-4.16.0.0 |
Instance detailsDefined in Data.Functor.Compose |
Semigroup (f (g p)) => Semigroup ((f :.: g) p) # | |
Instance detailsDefined in GHC.Internal.Generics |
Semigroup (f p) => Semigroup (M1 i c f p) # | |
Instance detailsDefined in GHC.Internal.Generics |
(Semigroup a, Semigroup b, Semigroup c, Semigroup d, Semigroup e) => Semigroup (a, b, c, d, e) # | |
Instance detailsDefined in GHC.Internal.Base Methods (<>) :: (a, b, c, d, e) -> (a, b, c, d, e) -> (a, b, c, d, e) # sconcat :: NonEmpty (a, b, c, d, e) -> (a, b, c, d, e) # stimes :: Integral b0 => b0 -> (a, b, c, d, e) -> (a, b, c, d, e) # |