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.
-
selections Data.Functor.Selection Map over selected values
mapSelected = fmap
-
selections Data.Functor.Selection Map over unselected values
mapUnselected = first
mapException :: (Exception e1, Exception e2, MonadCatch m) => (e1 -> e2) -> m a -> m aservant-exceptions-server Servant.Exception.Server Catch and rethrow using mapping function f.
mapMaybe :: (a -> Maybe b) -> [a] -> [b]strict-base-types Data.Maybe.Strict Analogous to mapMaybe in Data.Maybe.
mapAffix :: (String -> String) -> (String -> String) -> Formatted a -> Formatted atable-layout Text.Layout.Table.Cell.Formatted Map over the formatting directives of a formatted value.
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.
mapEitherT :: (m (Either x a) -> n (Either y b)) -> EitherT x m a -> EitherT y n btransformers-either Control.Monad.Trans.Either No documentation available.
-
tuple-th TupleTH Type of the generated expression:
(a -> b) -> (a, ..) -> (b, ..)
mapTuple' :: Int -> ExpQ -> Q Exptuple-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
mapM :: MonadUnliftIO m => (a -> m b) -> InputStream a -> m (InputStream b)unliftio-streams UnliftIO.Streams.Combinators No documentation available.