Hoogle Search

Within LTS Haskell 24.68 (ghc-9.10.3)

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

  1. fromEnumMap :: Methods queue set -> EnumMap SetId set -> queue

    set-cover Math.SetCover.Queue

    No documentation available.

  2. pangoFontDescriptionGetVariationsMap :: PrimMonad m => PangoFontDescriptionPrim (PrimState m) -> m Variations

    simple-pango Graphics.Pango.Basic.Fonts.PangoFontDescription.Variations

    No documentation available.

  3. pangoFontDescriptionSetVariationsMap :: PrimMonad m => PangoFontDescriptionPrim (PrimState m) -> Variations -> m ()

    simple-pango Graphics.Pango.Basic.Fonts.PangoFontDescription.Variations

    No documentation available.

  4. type FunctionMap = HashMap Identifier Function

    simple-templates Web.Simple.Templates.Types

    No documentation available.

  5. aiV4Mapped :: AddressInfoFlags

    socket System.Socket

    AI_V4MAPPED: Return mapped IPv4 addresses if no IPv6 addresses could be found or if aiAll flag is set.

  6. concatMap :: forall (m :: Type -> Type) b a c . Monad m => (b -> Fold m a c) -> Fold m a b -> Fold m a c

    streamly-core Streamly.Data.Fold

    Map a Fold returning function on the result of a Fold and run the returned fold. This operation can be used to express data dependencies between fold operations. Let's say the first element in the stream is a count of the following elements that we have to add, then:

    >>> import Data.Maybe (fromJust)
    
    >>> count = fmap fromJust Fold.one
    
    >>> total n = Fold.take n Fold.sum
    
    >>> Stream.fold (Fold.concatMap total count) $ Stream.fromList [10,9..1]
    45
    
    This does not fuse completely, see refold for a fusible alternative. Time: O(n^2) where n is the number of compositions. See also: foldIterateM, refold

  7. demuxToMap :: (Monad m, Ord k) => (a -> k) -> (a -> m (Fold m a b)) -> Fold m a (Map k b)

    streamly-core Streamly.Data.Fold

    This collects all the results of demux in a Map.

  8. demuxToMapIO :: (MonadIO m, Ord k) => (a -> k) -> (a -> m (Fold m a b)) -> Fold m a (Map k b)

    streamly-core Streamly.Data.Fold

    Same as demuxToMap but uses demuxIO for better performance.

  9. drainMapM :: Monad m => (a -> m b) -> Fold m a ()

    streamly-core Streamly.Data.Fold

    Definitions:

    >>> drainMapM f = Fold.lmapM f Fold.drain
    
    >>> drainMapM f = Fold.foldMapM (void . f)
    
    Drain all input after passing it through a monadic function. This is the dual of mapM_ on stream producers.

  10. foldMap :: forall (m :: Type -> Type) b a . (Monad m, Monoid b) => (a -> b) -> Fold m a b

    streamly-core Streamly.Data.Fold

    Definition:

    >>> foldMap f = Fold.lmap f Fold.mconcat
    
    Make a fold from a pure function that folds the output of the function using mappend and mempty.
    >>> sum = Fold.foldMap Data.Monoid.Sum
    
    >>> Stream.fold sum $ Stream.enumerateFromTo 1 10
    Sum {getSum = 55}
    

Page 1085 of many | Previous | Next