Hoogle Search

Within LTS Haskell 24.3 (ghc-9.10.2)

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

  1. concatMapOf :: Getting [r] s a -> (a -> [r]) -> s -> [r]

    diagrams-lib Diagrams.Prelude

    Map a function over all the targets of a Fold of a container and concatenate the resulting lists.

    >>> concatMapOf both (\x -> [x, x + 1]) (1,3)
    [1,2,3,4]
    
    concatMapconcatMapOf folded
    
    concatMapOf :: Getter s a     -> (a -> [r]) -> s -> [r]
    concatMapOf :: Fold s a       -> (a -> [r]) -> s -> [r]
    concatMapOf :: Lens' s a      -> (a -> [r]) -> s -> [r]
    concatMapOf :: Iso' s a       -> (a -> [r]) -> s -> [r]
    concatMapOf :: Traversal' s a -> (a -> [r]) -> s -> [r]
    

  2. concatOf :: Getting [r] s [r] -> s -> [r]

    diagrams-lib Diagrams.Prelude

    Concatenate all of the lists targeted by a Fold into a longer list.

    >>> concatOf both ("pan","ama")
    "panama"
    
    concatconcatOf folded
    concatOfview
    
    concatOf :: Getter s [r]     -> s -> [r]
    concatOf :: Fold s [r]       -> s -> [r]
    concatOf :: Iso' s [r]       -> s -> [r]
    concatOf :: Lens' s [r]      -> s -> [r]
    concatOf :: Traversal' s [r] -> s -> [r]
    

  3. concatMap :: Foldable t => (a -> [b]) -> t a -> [b]

    Cabal-syntax Distribution.Compat.Prelude

    No documentation available.

  4. concatMap :: Foldable t => (a -> [b]) -> t a -> [b]

    numhask NumHask.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]
    

  5. concatMap :: Foldable t => (a -> [b]) -> t a -> [b]

    numhask NumHask.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]
    

  6. concatMap :: Foldable t => (a -> [b]) -> t a -> [b]

    ghc-lib-parser GHC.Prelude.Basic

    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]
    

  7. concatMap :: (a -> [b]) -> [a] -> [b]

    prelude-compat Prelude2010

    No documentation available.

  8. concatMap :: Foldable t => (a -> [b]) -> t a -> [b]

    mixed-types-num Numeric.MixedTypes.PreludeHiding

    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]
    

  9. concatMap :: Foldable t => (a -> [b]) -> t a -> [b]

    LambdaHack Game.LambdaHack.Core.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]
    

  10. concatMap :: Foldable t => (a -> [b]) -> t a -> [b]

    LambdaHack Game.LambdaHack.Core.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]
    

Page 4 of many | Previous | Next