Hoogle Search

Within LTS Haskell 24.4 (ghc-9.10.2)

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

  1. mapWithKey :: (k -> v1 -> v2) -> WeightedPSQ w k v1 -> WeightedPSQ w k v2

    cabal-install-solver Distribution.Solver.Modular.WeightedPSQ

    O(N). Update the values.

  2. mapDeps :: (Component -> a -> b) -> ComponentDeps a -> ComponentDeps b

    cabal-install-solver Distribution.Solver.Types.ComponentDeps

    Keep only selected components (and their associated deps info).

  3. mapMB :: (Int -> Int) -> Approx -> Approx

    cdar-mBound Data.CDAR.Approx

    No documentation available.

  4. mapSubvectors :: (Vector u a, Vector v b) => (u a -> v b) -> Chimera u a -> Chimera v b

    chimera Data.Chimera

    Map subvectors of a stream, using a given length-preserving function.

  5. mapAccumS :: forall (m :: Type -> Type) a s b . Monad m => (a -> s -> ConduitT b Void m s) -> s -> ConduitT () b m () -> ConduitT a Void m s

    classy-prelude-conduit ClassyPrelude.Conduit

    Consume a source with a strict accumulator, in a way piecewise defined by a controlling stream. The latter will be evaluated until it terminates.

    >>> let f a s = liftM (:s) $ mapC (*a) =$ CL.take a
    
    >>> reverse $ runIdentity $ yieldMany [0..3] $$ mapAccumS f [] (yieldMany [1..])
    [[],[1],[4,6],[12,15,18]] :: [[Int]]
    

  6. mapAccumWhileC :: forall (m :: Type -> Type) a s b . Monad m => (a -> s -> Either s (s, b)) -> s -> ConduitT a b m s

    classy-prelude-conduit ClassyPrelude.Conduit

    mapWhileC with a break condition dependent on a strict accumulator. Equivalently, mapAccum as long as the result is Right. Instead of producing a leftover, the breaking input determines the resulting accumulator via Left.

  7. mapAccumWhileMC :: Monad m => (a -> s -> m (Either s (s, b))) -> s -> ConduitT a b m s

    classy-prelude-conduit ClassyPrelude.Conduit

    Monadic mapAccumWhileC.

  8. mapC :: forall (m :: Type -> Type) a b . Monad m => (a -> b) -> ConduitT a b m ()

    classy-prelude-conduit ClassyPrelude.Conduit

    Apply a transformation to all values in a stream.

  9. mapCE :: forall (m :: Type -> Type) f a b . (Monad m, Functor f) => (a -> b) -> ConduitT (f a) (f b) m ()

    classy-prelude-conduit ClassyPrelude.Conduit

    Apply a transformation to all elements in a chunked stream.

  10. mapInput :: forall (m :: Type -> Type) i1 i2 o r . Monad m => (i1 -> i2) -> (i2 -> Maybe i1) -> ConduitT i2 o m r -> ConduitT i1 o m r

    classy-prelude-conduit ClassyPrelude.Conduit

    Apply a function to all the input values of a ConduitT. Since 0.5.0

Page 237 of many | Previous | Next