Hoogle Search

Within LTS Haskell 24.33 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. productE :: forall (m :: Type -> Type) mono o . (Monad m, MonoFoldable mono, Num (Element mono)) => ConduitT mono o m (Element mono)

    conduit Data.Conduit.Combinators

    Get the product of all elements in the chunked stream. Subject to fusion

  2. product' :: (Foldable f, Num a) => f a -> a

    extra Data.Foldable.Extra

    A generalization of product' to Foldable instances.

  3. productOn' :: (Foldable f, Num b) => (a -> b) -> f a -> b

    extra Data.Foldable.Extra

    A generalization of productOn' to Foldable instances.

  4. product' :: Num a => [a] -> a

    extra Data.List.Extra

    A strict version of product.

    product' [1, 2, 4] == 8
    

  5. productOn' :: Num b => (a -> b) -> [a] -> b

    extra Data.List.Extra

    A strict version of product, using a custom valuation function.

    productOn' read ["1", "2", "4"] == 8
    

  6. product' :: Num a => [a] -> a

    extra Extra

    A strict version of product.

    product' [1, 2, 4] == 8
    

  7. productOn' :: Num b => (a -> b) -> [a] -> b

    extra Extra

    A strict version of product, using a custom valuation function.

    productOn' read ["1", "2", "4"] == 8
    

  8. productOf :: forall k a (is :: IxList) s . (Is k A_Fold, Num a) => Optic' k is s a -> s -> a

    optics-core Optics.Fold

    Calculate the Product of every number targeted by a Fold.

    >>> productOf each (4,5)
    20
    
    >>> productOf folded [1,2,3,4,5]
    120
    
    productproductOf folded
    
    This operation may be more strict than you would expect. If you want a lazier version use \o -> getProduct . foldMapOf o Product.

  9. productTypeFrom :: forall a (xs :: [Type]) . IsProductType a xs => a -> NP I xs

    generics-sop Generics.SOP

    Convert from a product type to its product representation.

  10. productTypeTo :: forall a (xs :: [Type]) . IsProductType a xs => NP I xs -> a

    generics-sop Generics.SOP

    Convert a product representation to the original type.

Page 73 of many | Previous | Next