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.
product' :: RealFloat a => [Log a] -> Log amcmc Mcmc.Prior Intelligent product that stops when encountering a zero. Use with care because the elements are checked for positiveness, and this can take some time if the list is long and does not contain any zeroes.
-
opaleye Opaleye.Internal.MaybeFields This is not safe in general because it relies on p not doing anything observable with the as if mfPresent is false. In particular, it won't work for Distinctspec because it does indeed look at the mfFields to check distinctness.
productQueryArr :: State Tag (a, PrimQuery) -> Query aopaleye Opaleye.Internal.QueryArr No documentation available.
productQueryArr' :: State Tag (a -> (b, PrimQuery)) -> QueryArr a bopaleye Opaleye.Internal.QueryArr No documentation available.
-
safe-decimal Numeric.Decimal Multiply all decimal numbers in the list while doing rounding.
>>> :set -XDataKinds >>> product [1.1, 20.02, 300.003] :: Double 6606.666066000001 >>> xs <- arithM (mapM fromRational [1.1, 20.02, 300.003] :: Arith [Decimal RoundHalfUp 4 Int]) >>> xs [1.1000,20.0200,300.0030] >>> productDecimalBoundedWithRounding xs 6606.6661
product1 :: (Foldable1 f, Multiplicative r) => f r -> ralgebra Numeric.Algebra No documentation available.
productWith :: (Unital r, Foldable f) => (a -> r) -> f a -> ralgebra Numeric.Algebra No documentation available.
productWith1 :: (Multiplicative r, Foldable1 f) => (a -> r) -> f a -> ralgebra Numeric.Algebra No documentation available.
product1 :: (Foldable1 f, Multiplicative r) => f r -> ralgebra Numeric.Algebra.Class No documentation available.
productWith1 :: (Multiplicative r, Foldable1 f) => (a -> r) -> f a -> ralgebra Numeric.Algebra.Class No documentation available.