Hoogle Search

Within LTS Haskell 24.46 (ghc-9.10.3)

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

  1. catMaybes :: forall t (m :: Type -> Type) a . (IsStream t, Monad m, Functor (t m)) => t m (Maybe a) -> t m a

    streamly Streamly.Internal.Data.Stream.IsStream

    In a stream of Maybes, discard Nothings and unwrap Justs. Pre-release

  2. mapMaybe :: forall t (m :: Type -> Type) a b . (IsStream t, Monad m) => (a -> Maybe b) -> t m a -> t m b

    streamly Streamly.Internal.Data.Stream.IsStream

    Map a Maybe returning function to a stream, filter out the Nothing elements, and return a stream of values extracted from Just. Equivalent to:

    mapMaybe f = Stream.map fromJust . Stream.filter isJust . Stream.map f
    

  3. mapMaybeM :: (IsStream t, MonadAsync m, Functor (t m)) => (a -> m (Maybe b)) -> t m a -> t m b

    streamly Streamly.Internal.Data.Stream.IsStream

    Like mapMaybe but maps a monadic function. Equivalent to:

    mapMaybeM f = Stream.map fromJust . Stream.filter isJust . Stream.mapM f
    
    Concurrent (do not use with fromParallel on infinite streams)

  4. writeMaybesWith :: forall (m :: Type -> Type) . MonadIO m => Int -> Socket -> Fold m (Maybe Word8) ()

    streamly Streamly.Internal.Network.Socket

    Write a stream of Maybe values. Keep buffering the Just values in an array. Write the array to the Handle as soon as a Nothing is encountered or the buffer size exceeds the specified limit. Pre-release

  5. mapMaybe :: forall t (m :: Type -> Type) a b . (IsStream t, Monad m) => (a -> Maybe b) -> t m a -> t m b

    streamly Streamly.Prelude

    Map a Maybe returning function to a stream, filter out the Nothing elements, and return a stream of values extracted from Just. Equivalent to:

    mapMaybe f = Stream.map fromJust . Stream.filter isJust . Stream.map f
    

  6. mapMaybeM :: (IsStream t, MonadAsync m, Functor (t m)) => (a -> m (Maybe b)) -> t m a -> t m b

    streamly Streamly.Prelude

    Like mapMaybe but maps a monadic function. Equivalent to:

    mapMaybeM f = Stream.map fromJust . Stream.filter isJust . Stream.mapM f
    
    Concurrent (do not use with fromParallel on infinite streams)

  7. putMaybeLineComment :: Maybe EpaComment -> P ()

    stylish-haskell Language.Haskell.Stylish.Printer

    No documentation available.

  8. partCompareListMaybe :: Eq a => [Maybe a] -> [Maybe a] -> Maybe Ordering

    swish Data.Ord.Partial

    Part-ordering comparison on lists of Maybe values.

  9. type BinMaybeFnApply a = a -> Bool -> BinMaybeFnDescr a -> [Maybe a] -> Maybe [a]

    swish Swish.Datatype

    altArgs support for binary function with provision for indicating inconsistent supplied values: function applicator type

  10. type BinMaybeFnDescr a = (a -> a -> Maybe [a], Int, Int)

    swish Swish.Datatype

    altArgs support for binary function with provision for indicating inconsistent supplied values: function descriptor type

Page 291 of many | Previous | Next