Hoogle Search

Within LTS Haskell 24.34 (ghc-9.10.3)

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

  1. productMaybeWith :: (a -> b -> Maybe c) -> [[a]] -> [[b]] -> [[c]]

    extrapolate Test.Extrapolate

    Take the product of lists of tiers by a function returning a Maybe value discarding Nothing values.

  2. products :: [[[a]]] -> [[[a]]]

    extrapolate Test.Extrapolate

    Takes the product of N lists of tiers, producing lists of length N. Alternatively, takes as argument a list of lists of tiers of elements; returns lists combining elements of each list of tiers.

    products [xss]  =  mapT (:[]) xss
    products [xss,yss]  =  mapT (\(x,y) -> [x,y]) (xss >< yss)
    products [xss,yss,zss]  =  product3With (\x y z -> [x,y,z]) xss yss zss
    

  3. product3With :: (a -> b -> c -> d) -> [[a]] -> [[b]] -> [[c]] -> [[d]]

    extrapolate Test.Extrapolate.Core

    Like productWith, but over 3 lists of tiers.

  4. productMaybeWith :: (a -> b -> Maybe c) -> [[a]] -> [[b]] -> [[c]]

    extrapolate Test.Extrapolate.Core

    Take the product of lists of tiers by a function returning a Maybe value discarding Nothing values.

  5. products :: [[[a]]] -> [[[a]]]

    extrapolate Test.Extrapolate.Core

    Takes the product of N lists of tiers, producing lists of length N. Alternatively, takes as argument a list of lists of tiers of elements; returns lists combining elements of each list of tiers.

    products [xss]  =  mapT (:[]) xss
    products [xss,yss]  =  mapT (\(x,y) -> [x,y]) (xss >< yss)
    products [xss,yss,zss]  =  product3With (\x y z -> [x,y,z]) xss yss zss
    

  6. product2Strategy :: (a -> b -> r) -> (r -> (a, b)) -> MergingStrategy a -> MergingStrategy b -> MergingStrategy r

    grisette Grisette.Core

    Useful utility function for building merge strategies for product types manually. For example, to build the merge strategy for the following product type, one could write

    data X = X { x1 :: Int, x2 :: Bool }
    product2Strategy X (\(X a b) -> (a, b)) rootStrategy rootStrategy
    :: MergingStrategy X
    

  7. product2Strategy :: (a -> b -> r) -> (r -> (a, b)) -> MergingStrategy a -> MergingStrategy b -> MergingStrategy r

    grisette Grisette.Internal.Core.Data.Class.Mergeable

    Useful utility function for building merge strategies for product types manually. For example, to build the merge strategy for the following product type, one could write

    data X = X { x1 :: Int, x2 :: Bool }
    product2Strategy X (\(X a b) -> (a, b)) rootStrategy rootStrategy
    :: MergingStrategy X
    

  8. productG :: Graph -> Graph -> Graph

    hgal Data.Graph.Construction

    No documentation available.

  9. production :: Bool

    hledger-web Hledger.Web.Import

    No documentation available.

  10. product' :: RealFloat a => [Log a] -> Log a

    mcmc 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.

Page 79 of many | Previous | Next