Hoogle Search

Within Stackage Nightly 2025-08-12 (ghc-9.12.2)

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

  1. type family (ma :: monad a) >>= (f :: a ~> monad b) :: monad b

    type-spec Test.TypeSpec.Internal.Apply

    Bind to actions.

  2. (>>=) :: Monad m => m a -> (a -> m b) -> m b

    basic-prelude BasicPrelude

    Sequentially compose two actions, passing any value produced by the first as an argument to the second. 'as >>= bs' can be understood as the do expression

    do a <- as
    bs a
    
    An alternative name for this function is 'bind', but some people may refer to it as 'flatMap', which results from it being equivalent to
    \x f -> join (fmap f x) :: Monad m => m a -> (a -> m b) -> m b
    
    which can be seen as mapping a value with Monad m => m a -> m (m b) and then 'flattening' m (m b) to m b using join.

  3. (>>=) :: Monad m => m a -> (a -> m b) -> m b

    basic-prelude CorePrelude

    Sequentially compose two actions, passing any value produced by the first as an argument to the second. 'as >>= bs' can be understood as the do expression

    do a <- as
    bs a
    
    An alternative name for this function is 'bind', but some people may refer to it as 'flatMap', which results from it being equivalent to
    \x f -> join (fmap f x) :: Monad m => m a -> (a -> m b) -> m b
    
    which can be seen as mapping a value with Monad m => m a -> m (m b) and then 'flattening' m (m b) to m b using join.

  4. (>>=) :: forall e s (a :: TYPE ra) (b :: TYPE rb) . Bind ra rb => Parser e s a -> (a -> Parser e s b) -> Parser e s b

    bytesmith Data.Bytes.Parser.Rebindable

    No documentation available.

  5. (>>=) :: Monad m => m a -> (a -> m b) -> m b

    classy-prelude ClassyPrelude

    Sequentially compose two actions, passing any value produced by the first as an argument to the second. 'as >>= bs' can be understood as the do expression

    do a <- as
    bs a
    
    An alternative name for this function is 'bind', but some people may refer to it as 'flatMap', which results from it being equivalent to
    \x f -> join (fmap f x) :: Monad m => m a -> (a -> m b) -> m b
    
    which can be seen as mapping a value with Monad m => m a -> m (m b) and then 'flattening' m (m b) to m b using join.

  6. (>>=) :: Monad m => m a -> (a -> m b) -> m b

    foundation Foundation

    Sequentially compose two actions, passing any value produced by the first as an argument to the second. 'as >>= bs' can be understood as the do expression

    do a <- as
    bs a
    
    An alternative name for this function is 'bind', but some people may refer to it as 'flatMap', which results from it being equivalent to
    \x f -> join (fmap f x) :: Monad m => m a -> (a -> m b) -> m b
    
    which can be seen as mapping a value with Monad m => m a -> m (m b) and then 'flattening' m (m b) to m b using join.

  7. (>>=) :: Monad m => m a -> (a -> m b) -> m b

    ghc-lib-parser GHC.Prelude.Basic

    Sequentially compose two actions, passing any value produced by the first as an argument to the second. 'as >>= bs' can be understood as the do expression

    do a <- as
    bs a
    
    An alternative name for this function is 'bind', but some people may refer to it as 'flatMap', which results from it being equivalent to
    \x f -> join (fmap f x) :: Monad m => m a -> (a -> m b) -> m b
    
    which can be seen as mapping a value with Monad m => m a -> m (m b) and then 'flattening' m (m b) to m b using join.

  8. (>>=) :: Monad m => m a -> (a -> m b) -> m b

    base-prelude BasePrelude.Operators

    Sequentially compose two actions, passing any value produced by the first as an argument to the second. 'as >>= bs' can be understood as the do expression

    do a <- as
    bs a
    
    An alternative name for this function is 'bind', but some people may refer to it as 'flatMap', which results from it being equivalent to
    \x f -> join (fmap f x) :: Monad m => m a -> (a -> m b) -> m b
    
    which can be seen as mapping a value with Monad m => m a -> m (m b) and then 'flattening' m (m b) to m b using join.

  9. (>>=) :: Monad m => m a -> (a -> m b) -> m b

    mixed-types-num Numeric.MixedTypes.PreludeHiding

    Sequentially compose two actions, passing any value produced by the first as an argument to the second. 'as >>= bs' can be understood as the do expression

    do a <- as
    bs a
    
    An alternative name for this function is 'bind', but some people may refer to it as 'flatMap', which results from it being equivalent to
    \x f -> join (fmap f x) :: Monad m => m a -> (a -> m b) -> m b
    
    which can be seen as mapping a value with Monad m => m a -> m (m b) and then 'flattening' m (m b) to m b using join.

  10. (>>=) :: Monad m => m a -> (a -> m b) -> m b

    protolude Protolude.Monad

    Sequentially compose two actions, passing any value produced by the first as an argument to the second. 'as >>= bs' can be understood as the do expression

    do a <- as
    bs a
    
    An alternative name for this function is 'bind', but some people may refer to it as 'flatMap', which results from it being equivalent to
    \x f -> join (fmap f x) :: Monad m => m a -> (a -> m b) -> m b
    
    which can be seen as mapping a value with Monad m => m a -> m (m b) and then 'flattening' m (m b) to m b using join.

Page 3 of many | Previous | Next