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 | Since: base-4.17.0.0 |
Instance detailsDefined in Data.Array.Byte |
Semigroup Builder | |
Instance detailsDefined in Data.ByteString.Builder.Internal |
Semigroup ByteString | |
Instance detailsDefined in Data.ByteString.Internal.Type |
Semigroup ByteString | |
Instance detailsDefined in Data.ByteString.Lazy.Internal |
Semigroup ShortByteString | |
Instance detailsDefined in Data.ByteString.Short.Internal |
Semigroup IntSet | Since: containers-0.5.7 |
Instance detailsDefined in Data.IntSet.Internal |
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 | |
Instance detailsDefined in Text.PrettyPrint.HughesPJ |
Semigroup Builder | |
Instance detailsDefined in Data.Text.Internal.Builder |
Semigroup StrictBuilder | 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 () | |
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) | |
Instance detailsDefined in Data.Foldable1 |
Semigroup a => Semigroup (JoinWith a) | |
Instance detailsDefined in Data.Foldable1 |
Semigroup (NonEmptyDList a) | |
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) | (<> ) 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) | (<> ) 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) | (<> ) 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) | Since: base-4.9.0.0 |
Instance detailsDefined in Data.Semigroup |
Semigroup (Last a) | Since: base-4.9.0.0 |
Instance detailsDefined in Data.Semigroup |
Ord a => Semigroup (Max a) | Since: base-4.9.0.0 |
Instance detailsDefined in Data.Semigroup |
Ord a => Semigroup (Min a) | Since: base-4.9.0.0 |
Instance detailsDefined in Data.Semigroup |
Monoid m => Semigroup (WrappedMonoid m) | Since: base-4.9.0.0 |
Instance detailsDefined in Data.Semigroup |
Semigroup (PutM ()) | |
Instance detailsDefined in Data.Binary.Put |
Semigroup (IntMap a) | Since: containers-0.5.7 |
Instance detailsDefined in Data.IntMap.Internal |
Semigroup (Seq a) | Since: containers-0.5.7 |
Instance detailsDefined in Data.Sequence.Internal |
Ord a => Semigroup (Intersection a) | |
Instance detailsDefined in Data.Set.Internal |
Semigroup (MergeSet a) | |
Instance detailsDefined in Data.Set.Internal |
Ord a => Semigroup (Set a) | 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 (IO a) | |
Instance detailsDefined in GHC.Internal.Base |
Semigroup (Doc a) | |
Instance detailsDefined in Text.PrettyPrint.Annotated.HughesPJ |
Semigroup a => Semigroup (Q a) | |
Instance detailsDefined in Language.Haskell.TH.Syntax |
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) | (<> ) @(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) | |
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) | |
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) | 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) | 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) | 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) # |