Hoogle Search
Within LTS Haskell 24.4 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
base-compat-batteries Data.Monoid.Compat No documentation available.
-
base-compat-batteries Data.Semigroup.Compat Monoid under multiplication.
Product x <> Product y == Product (x * y)
Examples
>>> Product 3 <> Product 4 <> mempty Product {getProduct = 12}
>>> mconcat [ Product n | n <- [2 .. 10]] Product {getProduct = 3628800}
-
base-compat-batteries Data.Semigroup.Compat No documentation available.
-
ghc-typelits-natnormalise GHC.TypeLits.Normalise.SOP No documentation available.
type family
Product (arg :: t a) :: asingletons-base Data.List.Singletons No documentation available.
-
Magic product operations using Generics These classes need not be instantiated manually, as GHC can automatically prove valid instances via Generics. Only the Generic class needs to be derived (see examples).
module TextShow.Data.Functor.
Product -
ghc-internal GHC.Internal.Data.Monoid Monoid under multiplication.
Product x <> Product y == Product (x * y)
Examples
>>> Product 3 <> Product 4 <> mempty Product {getProduct = 12}
>>> mconcat [ Product n | n <- [2 .. 10]] Product {getProduct = 3628800}
-
ghc-internal GHC.Internal.Data.Monoid No documentation available.
-
ghc-internal GHC.Internal.Data.Semigroup.Internal Monoid under multiplication.
Product x <> Product y == Product (x * y)
Examples
>>> Product 3 <> Product 4 <> mempty Product {getProduct = 12}
>>> mconcat [ Product n | n <- [2 .. 10]] Product {getProduct = 3628800}