Hoogle Search

Within LTS Haskell 24.40 (ghc-9.10.3)

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

  1. mapSelected :: forall (f :: Type -> Type) a c b . Functor f => (a -> c) -> Selection f b a -> Selection f b c

    selections Data.Functor.Selection

    Map over selected values

    mapSelected = fmap
    

  2. mapUnselected :: forall (f :: Type -> Type) b c a . Functor f => (b -> c) -> Selection f b a -> Selection f c a

    selections Data.Functor.Selection

    Map over unselected values

    mapUnselected = first
    

  3. mapException :: (Exception e1, Exception e2, MonadCatch m) => (e1 -> e2) -> m a -> m a

    servant-exceptions-server Servant.Exception.Server

    Catch and rethrow using mapping function f.

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

    strict-base-types Data.Maybe.Strict

    Analogous to mapMaybe in Data.Maybe.

  5. mapAffix :: (String -> String) -> (String -> String) -> Formatted a -> Formatted a

    table-layout Text.Layout.Table.Cell.Formatted

    Map over the formatting directives of a formatted value.

  6. mapRowGroupColumns :: [(b, a -> b)] -> RowGroup a -> [[b]]

    table-layout Text.Layout.Table.Spec.RowGroup

    Map each column with the corresponding function and replace empty inputs with the given value.

  7. mapEitherT :: (m (Either x a) -> n (Either y b)) -> EitherT x m a -> EitherT y n b

    transformers-either Control.Monad.Trans.Either

    No documentation available.

  8. mapTuple :: Int -> ExpQ

    tuple-th TupleTH

    Type of the generated expression:

    (a -> b) -> (a, ..) -> (b, ..)
    

  9. mapTuple' :: Int -> ExpQ -> Q Exp

    tuple-th TupleTH

    Takes the mapping as a quoted expression. This can sometimes produce an expression that typechecks when the analogous expression using filterTuple does not, e.g.:

    $(mapTuple 2) Just        ((),"foo") -- Type error
    $(mapTuple' 2 [| Just |]) ((),"foo") -- OK
    

  10. mapM :: MonadUnliftIO m => (a -> m b) -> InputStream a -> m (InputStream b)

    unliftio-streams UnliftIO.Streams.Combinators

    No documentation available.

Page 394 of many | Previous | Next