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.
-
relational-schemas Database.Custom.IBMDB2 Unit of product is supported or not.
-
relational-schemas Database.Custom.MySQL Unit of product is supported or not.
-
relational-schemas Database.Custom.Oracle Unit of product is supported or not.
-
relational-schemas Database.Custom.PostgreSQL Unit of product is supported or not.
-
relational-schemas Database.Custom.SQLServer Unit of product is supported or not.
-
relational-schemas Database.Custom.SQLite3 Unit of product is supported or not.
productOf :: Num a => Getting (Endo (Endo a)) s a -> s -> alens Control.Lens.Combinators Calculate the Product of every number targeted by a Fold.
>>> productOf both (4,5) 20 >>> productOf folded [1,2,3,4,5] 120
product ≡ productOf folded
This operation may be more strict than you would expect. If you want a lazier version use ala Product . foldMapOfproductOf :: Num a => Getter s a -> s -> a productOf :: Num a => Fold s a -> s -> a productOf :: Num a => Lens' s a -> s -> a productOf :: Num a => Iso' s a -> s -> a productOf :: Num a => Traversal' s a -> s -> a productOf :: Num a => Prism' s a -> s -> a
productOf :: Num a => Getting (Endo (Endo a)) s a -> s -> alens Control.Lens.Fold Calculate the Product of every number targeted by a Fold.
>>> productOf both (4,5) 20 >>> productOf folded [1,2,3,4,5] 120
product ≡ productOf folded
This operation may be more strict than you would expect. If you want a lazier version use ala Product . foldMapOfproductOf :: Num a => Getter s a -> s -> a productOf :: Num a => Fold s a -> s -> a productOf :: Num a => Lens' s a -> s -> a productOf :: Num a => Iso' s a -> s -> a productOf :: Num a => Traversal' s a -> s -> a productOf :: Num a => Prism' s a -> s -> a
productC :: forall (m :: Type -> Type) a o . (Monad m, Num a) => ConduitT a o m aconduit Conduit Get the product of all values in the stream.
-
conduit Conduit Get the product of all elements in the chunked stream.