Hoogle Search

Within LTS Haskell 24.27 (ghc-9.10.3)

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

  1. join :: Monad m => m (m a) -> m a

    basic-prelude BasicPrelude

    The join function is the conventional monad join operator. It is used to remove one level of monadic structure, projecting its bound argument into the outer level. 'join bss' can be understood as the do expression

    do bs <- bss
    bs
    

    Examples

    >>> join [[1, 2, 3], [4, 5, 6], [7, 8, 9]]
    [1,2,3,4,5,6,7,8,9]
    
    >>> join (Just (Just 3))
    Just 3
    
    A common use of join is to run an IO computation returned from an STM transaction, since STM transactions can't perform IO directly. Recall that
    atomically :: STM a -> IO a
    
    is used to run STM transactions atomically. So, by specializing the types of atomically and join to
    atomically :: STM (IO b) -> IO (IO b)
    join       :: IO (IO b)  -> IO b
    
    we can compose them as
    join . atomically :: STM (IO b) -> IO b
    
    to run an STM transaction and the IO action it returns.

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

    classy-prelude ClassyPrelude

    The join function is the conventional monad join operator. It is used to remove one level of monadic structure, projecting its bound argument into the outer level. 'join bss' can be understood as the do expression

    do bs <- bss
    bs
    

    Examples

    >>> join [[1, 2, 3], [4, 5, 6], [7, 8, 9]]
    [1,2,3,4,5,6,7,8,9]
    
    >>> join (Just (Just 3))
    Just 3
    
    A common use of join is to run an IO computation returned from an STM transaction, since STM transactions can't perform IO directly. Recall that
    atomically :: STM a -> IO a
    
    is used to run STM transactions atomically. So, by specializing the types of atomically and join to
    atomically :: STM (IO b) -> IO (IO b)
    join       :: IO (IO b)  -> IO b
    
    we can compose them as
    join . atomically :: STM (IO b) -> IO b
    
    to run an STM transaction and the IO action it returns.

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

    turtle Turtle

    The join function is the conventional monad join operator. It is used to remove one level of monadic structure, projecting its bound argument into the outer level. 'join bss' can be understood as the do expression

    do bs <- bss
    bs
    

    Examples

    >>> join [[1, 2, 3], [4, 5, 6], [7, 8, 9]]
    [1,2,3,4,5,6,7,8,9]
    
    >>> join (Just (Just 3))
    Just 3
    
    A common use of join is to run an IO computation returned from an STM transaction, since STM transactions can't perform IO directly. Recall that
    atomically :: STM a -> IO a
    
    is used to run STM transactions atomically. So, by specializing the types of atomically and join to
    atomically :: STM (IO b) -> IO (IO b)
    join       :: IO (IO b)  -> IO b
    
    we can compose them as
    join . atomically :: STM (IO b) -> IO b
    
    to run an STM transaction and the IO action it returns.

  4. join :: Monad m => m (m a) -> m a

    LambdaHack Game.LambdaHack.Core.Prelude

    The join function is the conventional monad join operator. It is used to remove one level of monadic structure, projecting its bound argument into the outer level. 'join bss' can be understood as the do expression

    do bs <- bss
    bs
    

    Examples

    >>> join [[1, 2, 3], [4, 5, 6], [7, 8, 9]]
    [1,2,3,4,5,6,7,8,9]
    
    >>> join (Just (Just 3))
    Just 3
    
    A common use of join is to run an IO computation returned from an STM transaction, since STM transactions can't perform IO directly. Recall that
    atomically :: STM a -> IO a
    
    is used to run STM transactions atomically. So, by specializing the types of atomically and join to
    atomically :: STM (IO b) -> IO (IO b)
    join       :: IO (IO b)  -> IO b
    
    we can compose them as
    join . atomically :: STM (IO b) -> IO b
    
    to run an STM transaction and the IO action it returns.

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

    cabal-install-solver Distribution.Solver.Compat.Prelude

    The join function is the conventional monad join operator. It is used to remove one level of monadic structure, projecting its bound argument into the outer level. 'join bss' can be understood as the do expression

    do bs <- bss
    bs
    

    Examples

    >>> join [[1, 2, 3], [4, 5, 6], [7, 8, 9]]
    [1,2,3,4,5,6,7,8,9]
    
    >>> join (Just (Just 3))
    Just 3
    
    A common use of join is to run an IO computation returned from an STM transaction, since STM transactions can't perform IO directly. Recall that
    atomically :: STM a -> IO a
    
    is used to run STM transactions atomically. So, by specializing the types of atomically and join to
    atomically :: STM (IO b) -> IO (IO b)
    join       :: IO (IO b)  -> IO b
    
    we can compose them as
    join . atomically :: STM (IO b) -> IO b
    
    to run an STM transaction and the IO action it returns.

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

    incipit-base Incipit.Base

    The join function is the conventional monad join operator. It is used to remove one level of monadic structure, projecting its bound argument into the outer level. 'join bss' can be understood as the do expression

    do bs <- bss
    bs
    

    Examples

    >>> join [[1, 2, 3], [4, 5, 6], [7, 8, 9]]
    [1,2,3,4,5,6,7,8,9]
    
    >>> join (Just (Just 3))
    Just 3
    
    A common use of join is to run an IO computation returned from an STM transaction, since STM transactions can't perform IO directly. Recall that
    atomically :: STM a -> IO a
    
    is used to run STM transactions atomically. So, by specializing the types of atomically and join to
    atomically :: STM (IO b) -> IO (IO b)
    join       :: IO (IO b)  -> IO b
    
    we can compose them as
    join . atomically :: STM (IO b) -> IO b
    
    to run an STM transaction and the IO action it returns.

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

    Agda Agda.Utils.Monad

    The join function is the conventional monad join operator. It is used to remove one level of monadic structure, projecting its bound argument into the outer level. 'join bss' can be understood as the do expression

    do bs <- bss
    bs
    

    Examples

    >>> join [[1, 2, 3], [4, 5, 6], [7, 8, 9]]
    [1,2,3,4,5,6,7,8,9]
    
    >>> join (Just (Just 3))
    Just 3
    
    A common use of join is to run an IO computation returned from an STM transaction, since STM transactions can't perform IO directly. Recall that
    atomically :: STM a -> IO a
    
    is used to run STM transactions atomically. So, by specializing the types of atomically and join to
    atomically :: STM (IO b) -> IO (IO b)
    join       :: IO (IO b)  -> IO b
    
    we can compose them as
    join . atomically :: STM (IO b) -> IO b
    
    to run an STM transaction and the IO action it returns.

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

    control-monad-free Control.Monad.Free

    The join function is the conventional monad join operator. It is used to remove one level of monadic structure, projecting its bound argument into the outer level. 'join bss' can be understood as the do expression

    do bs <- bss
    bs
    

    Examples

    >>> join [[1, 2, 3], [4, 5, 6], [7, 8, 9]]
    [1,2,3,4,5,6,7,8,9]
    
    >>> join (Just (Just 3))
    Just 3
    
    A common use of join is to run an IO computation returned from an STM transaction, since STM transactions can't perform IO directly. Recall that
    atomically :: STM a -> IO a
    
    is used to run STM transactions atomically. So, by specializing the types of atomically and join to
    atomically :: STM (IO b) -> IO (IO b)
    join       :: IO (IO b)  -> IO b
    
    we can compose them as
    join . atomically :: STM (IO b) -> IO b
    
    to run an STM transaction and the IO action it returns.

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

    distribution-opensuse OpenSuse.Prelude

    The join function is the conventional monad join operator. It is used to remove one level of monadic structure, projecting its bound argument into the outer level. 'join bss' can be understood as the do expression

    do bs <- bss
    bs
    

    Examples

    >>> join [[1, 2, 3], [4, 5, 6], [7, 8, 9]]
    [1,2,3,4,5,6,7,8,9]
    
    >>> join (Just (Just 3))
    Just 3
    
    A common use of join is to run an IO computation returned from an STM transaction, since STM transactions can't perform IO directly. Recall that
    atomically :: STM a -> IO a
    
    is used to run STM transactions atomically. So, by specializing the types of atomically and join to
    atomically :: STM (IO b) -> IO (IO b)
    join       :: IO (IO b)  -> IO b
    
    we can compose them as
    join . atomically :: STM (IO b) -> IO b
    
    to run an STM transaction and the IO action it returns.

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

    classy-prelude-yesod ClassyPrelude.Yesod

    The join function is the conventional monad join operator. It is used to remove one level of monadic structure, projecting its bound argument into the outer level. 'join bss' can be understood as the do expression

    do bs <- bss
    bs
    

    Examples

    >>> join [[1, 2, 3], [4, 5, 6], [7, 8, 9]]
    [1,2,3,4,5,6,7,8,9]
    
    >>> join (Just (Just 3))
    Just 3
    
    A common use of join is to run an IO computation returned from an STM transaction, since STM transactions can't perform IO directly. Recall that
    atomically :: STM a -> IO a
    
    is used to run STM transactions atomically. So, by specializing the types of atomically and join to
    atomically :: STM (IO b) -> IO (IO b)
    join       :: IO (IO b)  -> IO b
    
    we can compose them as
    join . atomically :: STM (IO b) -> IO b
    
    to run an STM transaction and the IO action it returns.

Page 2 of many | Previous | Next