Hoogle Search
Within LTS Haskell 24.2 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
concat :: Foldable t => t [a] -> [a]dimensional Numeric.Units.Dimensional.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]
concat :: Foldable t => t [a] -> [a]distribution-opensuse OpenSuse.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]
concat :: Foldable t => t [a] -> [a]constrained-categories Control.Category.Constrained.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]
concat :: Foldable t => t [a] -> [a]copilot-language Copilot.Language.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]
concat :: Foldable t => t [a] -> [a]xmonad-contrib XMonad.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]
type family
Concat (a1 :: t [a]) :: [a]singletons-base Prelude.Singletons No documentation available.
concatMap :: Foldable t => (a -> [b]) -> t a -> [b]base Prelude Map a function over all the elements of a container and concatenate the resulting lists.
Examples
Basic usage:>>> concatMap (take 3) [[1..], [10..], [100..], [1000..]] [1,2,3,10,11,12,100,101,102,1000,1001,1002]
>>> concatMap (take 3) (Just [1..]) [1,2,3]
concatMap :: Foldable t => (a -> [b]) -> t a -> [b]hedgehog Hedgehog.Internal.Prelude Map a function over all the elements of a container and concatenate the resulting lists.
Examples
Basic usage:>>> concatMap (take 3) [[1..], [10..], [100..], [1000..]] [1,2,3,10,11,12,100,101,102,1000,1001,1002]
>>> concatMap (take 3) (Just [1..]) [1,2,3]
concatMap :: Foldable t => (a -> [b]) -> t a -> [b]ghc GHC.Prelude.Basic No documentation available.
concatMap :: Foldable t => (a -> [b]) -> t a -> [b]rio RIO.Prelude Map a function over all the elements of a container and concatenate the resulting lists.
Examples
Basic usage:>>> concatMap (take 3) [[1..], [10..], [100..], [1000..]] [1,2,3,10,11,12,100,101,102,1000,1001,1002]
>>> concatMap (take 3) (Just [1..]) [1,2,3]