Hoogle Search
Within LTS Haskell 24.19 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
mapFst3 :: (a -> d) -> (a, b, c) -> (d, b, c)utility-ht Data.Tuple.Strict No documentation available.
mapPair :: (a -> c, b -> d) -> (a, b) -> (c, d)utility-ht Data.Tuple.Strict No documentation available.
mapSnd :: (b -> c) -> (a, b) -> (a, c)utility-ht Data.Tuple.Strict No documentation available.
mapSnd3 :: (b -> d) -> (a, b, c) -> (a, d, c)utility-ht Data.Tuple.Strict No documentation available.
mapThd3 :: (c -> d) -> (a, b, c) -> (a, b, d)utility-ht Data.Tuple.Strict No documentation available.
mapTriple :: (a -> d, b -> e, c -> f) -> (a, b, c) -> (d, e, f)utility-ht Data.Tuple.Strict No documentation available.
mapM_ :: Monad m => (Word8 -> m ()) -> ConduitT ByteString o m ()conduit-extra Data.Conduit.Binary Perform a computation on each Word8 in a stream. Since 1.0.10
-
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.
mapStepT :: forall (m :: Type -> Type) a b . (StepT m a -> StepT m b) -> SourceT m a -> SourceT m bservant Servant.Types.SourceT No documentation available.