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. mapLaTeXT :: (m (a, LaTeX) -> m (a, LaTeX)) -> LaTeXT m a -> LaTeXT m a

    HaTeX Text.LaTeX.Base.Writer

    A helper function for building monad transformers, e.g.

    instance MonadReader r m => MonadReader r (LaTeXT m) where
    ask = lift ask
    local = mapLaTeXT . local
    
    This declaration could be included here, but it would add a dependency on mtl.

  2. mapsto :: LaTeXC l => l

    HaTeX Text.LaTeX.Packages.AMSMath

    A right-arrow for function definitions, <math>.

  3. mapStrategyM :: Monad m => (a -> m (Maybe b)) -> Strategy a -> m (Strategy b)

    LambdaHack Game.LambdaHack.Client.AI.Strategy

    No documentation available.

  4. mapPosToOffset :: (Point, AttrCharW32) -> (PointUI, AttrString)

    LambdaHack Game.LambdaHack.Client.UI.Animation

    No documentation available.

  5. mapFontIsBitmap :: FrontendSession -> Bool

    LambdaHack Game.LambdaHack.Client.UI.Frontend.Sdl

    No documentation available.

  6. mapStartY :: Int

    LambdaHack Game.LambdaHack.Client.UI.PointUI

    The row where the dungeon map starts, both in PointUI and PointSquare coordinates.

  7. mapToSquare :: Point -> PointSquare

    LambdaHack Game.LambdaHack.Client.UI.PointUI

    No documentation available.

  8. mapActorItems_ :: Monad m => (CStore -> ItemId -> ItemQuant -> m ()) -> Actor -> State -> m ()

    LambdaHack Game.LambdaHack.Common.ActorState

    No documentation available.

  9. mapA :: (UnboxRepClass c, UnboxRepClass d) => (c -> d) -> Array c -> Array d

    LambdaHack Game.LambdaHack.Common.PointArray

    Map over an array.

  10. mapAccumL :: Traversable t => (s -> a -> (s, b)) -> s -> t a -> (s, t b)

    LambdaHack Game.LambdaHack.Core.Prelude

    The mapAccumL function behaves like a combination of fmap and foldl; it applies a function to each element of a structure, passing an accumulating parameter from left to right, and returning a final value of this accumulator together with the new structure.

    Examples

    Basic usage:
    >>> mapAccumL (\a b -> (a + b, a)) 0 [1..10]
    (55,[0,1,3,6,10,15,21,28,36,45])
    
    >>> mapAccumL (\a b -> (a <> show b, a)) "0" [1..5]
    ("012345",["0","01","012","0123","01234"])
    

Page 232 of many | Previous | Next