Hoogle Search
Within LTS Haskell 24.6 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
servant Servant.Types.SourceT Filter values.
>>> toList $ mapMaybe (\x -> if odd x then Just x else Nothing) (source [0..10]) :: [Int] [1,3,5,7,9]
>>> mapMaybe (\x -> if odd x then Just x else Nothing) (source [0..2]) :: SourceT Identity Int fromStepT (Effect (Identity (Skip (Yield 1 (Skip Stop)))))
Illustrates why we need Skip. -
servant Servant.Types.SourceT No documentation available.
mapMG :: (ModSummary -> ModSummary) -> ModuleGraph -> ModuleGraphghc GHC Map a function f over all the ModSummaries. To preserve invariants f can't change the isBoot status.
mapMap :: (a -> v) -> LabelMap a -> LabelMap vghc GHC.Cmm.Dataflow.Label No documentation available.
mapMapWithKey :: (Label -> a -> v) -> LabelMap a -> LabelMap vghc GHC.Cmm.Dataflow.Label No documentation available.
mapMember :: Label -> LabelMap a -> Boolghc GHC.Cmm.Dataflow.Label No documentation available.
mapMaybeDTyConEnv :: (a -> Maybe b) -> DTyConEnv a -> DTyConEnv bghc GHC.Core.TyCon.Env No documentation available.
mapMaybeBag :: (a -> Maybe b) -> Bag a -> Bag bghc GHC.Data.Bag No documentation available.
mapMaybeBagM :: Monad m => (a -> m (Maybe b)) -> Bag a -> m (Bag b)ghc GHC.Data.Bag No documentation available.
mapMaybeFsEnv :: (elt1 -> Maybe elt2) -> FastStringEnv elt1 -> FastStringEnv elt2ghc GHC.Data.FastString.Env No documentation available.