Hoogle Search

Within LTS Haskell 22.20 (ghc-9.6.4)

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

  1. concat :: Foldable t => t [a] -> [a]

    base Prelude

    The concatenation of all the elements of a container of lists.

    Examples

    Basic usage:
    >>> concat (Just [1, 2, 3])
    [1,2,3]
    
    >>> concat (Left 42)
    []
    
    >>> concat [[1, 2, 3], [4, 5], [6], []]
    [1,2,3,4,5,6]
    

  2. concat :: Foldable t => t [a] -> [a]

    amazonka-core Amazonka.Prelude

    The concatenation of all the elements of a container of lists.

    Examples

    Basic usage:
    >>> concat (Just [1, 2, 3])
    [1,2,3]
    
    >>> concat (Left 42)
    []
    
    >>> concat [[1, 2, 3], [4, 5], [6], []]
    [1,2,3,4,5,6]
    

  3. concat :: Foldable t => t [a] -> [a]

    hedgehog Hedgehog.Internal.Prelude

    The concatenation of all the elements of a container of lists.

    Examples

    Basic usage:
    >>> concat (Just [1, 2, 3])
    [1,2,3]
    
    >>> concat (Left 42)
    []
    
    >>> concat [[1, 2, 3], [4, 5], [6], []]
    [1,2,3,4,5,6]
    

  4. concat :: Foldable t => t [a] -> [a]

    ghc GHC.Prelude.Basic

    The concatenation of all the elements of a container of lists.

    Examples

    Basic usage:
    >>> concat (Just [1, 2, 3])
    [1,2,3]
    
    >>> concat (Left 42)
    []
    
    >>> concat [[1, 2, 3], [4, 5], [6], []]
    [1,2,3,4,5,6]
    

  5. concat :: (Functor m, Foldable f) => Pipe (f a) a m r

    pipes Pipes.Prelude

    Flatten all Foldable elements flowing downstream

  6. concat :: Foldable t => t [a] -> [a]

    rio RIO.Prelude

    The concatenation of all the elements of a container of lists.

    Examples

    Basic usage:
    >>> concat (Just [1, 2, 3])
    [1,2,3]
    
    >>> concat (Left 42)
    []
    
    >>> concat [[1, 2, 3], [4, 5], [6], []]
    [1,2,3,4,5,6]
    

  7. concat :: Foldable t => t [a] -> [a]

    Cabal-syntax Distribution.Compat.Prelude

    The concatenation of all the elements of a container of lists.

    Examples

    Basic usage:
    >>> concat (Just [1, 2, 3])
    [1,2,3]
    
    >>> concat (Left 42)
    []
    
    >>> concat [[1, 2, 3], [4, 5], [6], []]
    [1,2,3,4,5,6]
    

  8. concat :: Foldable t => t [a] -> [a]

    ghc-lib-parser GHC.Prelude.Basic

    The concatenation of all the elements of a container of lists.

    Examples

    Basic usage:
    >>> concat (Just [1, 2, 3])
    [1,2,3]
    
    >>> concat (Left 42)
    []
    
    >>> concat [[1, 2, 3], [4, 5], [6], []]
    [1,2,3,4,5,6]
    

  9. concat :: (Monad m, Foldable f) => Stream (Of (f a)) m r -> Stream (Of a) m r

    streaming Streaming.Prelude

    Make a stream of foldable containers into a stream of their separate elements. This is just

    concat str = for str each
    
    >>> S.print $ S.concat (each ["xy","z"])
    'x'
    'y'
    'z'
    
    Note that it also has the effect of catMaybes, rights map snd and such-like operations.
    >>> S.print $ S.concat $ S.each [Just 1, Nothing, Just 2]
    1
    2
    
    >>> S.print $  S.concat $ S.each [Right 1, Left "Error!", Right 2]
    1
    2
    
    >>> S.print $ S.concat $ S.each [('A',1), ('B',2)]
    1
    2
    

  10. concat :: Foldable t => t [a] -> [a]

    numhask NumHask.Prelude

    The concatenation of all the elements of a container of lists.

    Examples

    Basic usage:
    >>> concat (Just [1, 2, 3])
    [1,2,3]
    
    >>> concat (Left 42)
    []
    
    >>> concat [[1, 2, 3], [4, 5], [6], []]
    [1,2,3,4,5,6]
    

Page 1 of many | Next