Hoogle Search
Within LTS Haskell 24.32 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
gaProduct :: forall proxys (p :: k) . GAProduct s c opts f => proxys '(s, c) -> opts -> Gen (f p)generic-random Generic.Random.Internal.Generic No documentation available.
gaProduct' :: forall proxy (p :: k) . GAProduct' c i opts f => proxy '(c, i) -> opts -> Gen (f p)generic-random Generic.Random.Internal.Generic No documentation available.
class
GUniverseProduct (f :: Type -> Type)universe-base Data.Universe.Generic No documentation available.
guniverseProduct :: GUniverseProduct f => [f a]universe-base Data.Universe.Generic No documentation available.
cartesianProduct :: (a -> b -> c) -> [a] -> [b] -> [c]universe-base Data.Universe.Helpers Slightly unfair 2-way Cartesian product: given two (possibly infinite) lists, produce a single list such that whenever v and w have finite indices in the input lists, (v,w) has finite index in the output list. Lower indices occur as the fst part of the tuple more frequently, but not exponentially so.
unfairCartesianProduct :: (a -> b -> c) -> [a] -> [b] -> [c]universe-base Data.Universe.Helpers Very unfair 2-way Cartesian product: same guarantee as the slightly unfair one, except that lower indices may occur as the fst part of the tuple exponentially more frequently.
class Num a =>
CommutativeProduct acommutative-semigroups Numeric.Product.Commutative Subclass of Num where (*) is commutative. Num doesn't demand commutative (*), and there are reasonable "real-world" instances with non-commutative multiplication. There is also no canonical subclass in base that would suffice, as both Integral and Floating imply commutative (*) for different reasons. Two examples of non-commutative (*):
- Linear.Quaternion.Quaterion from the linear package has a Num instance, and quaternion multiplication is noncommutative.
- Data.Matrix.Matrix from the matrix package uses (*) for matrix multiplication, which is also non-commutative (on square matrices, which is the only time the question makes sense).
-
ghc-internal GHC.Internal.Data.Monoid No documentation available.
-
ghc-internal GHC.Internal.Data.Semigroup.Internal No documentation available.
defaultUnsafeDotProduct :: (Num e, Index ix, Source r e) => Array r ix e -> Array r ix e -> emassiv Data.Massiv.Core.Operations No documentation available.