Hoogle Search

Within LTS Haskell 22.18 (ghc-9.6.4)

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

  1. map :: (a -> b) -> [a] -> [b]

    base Prelude

    map f xs is the list obtained by applying f to each element of xs, i.e.,

    map f [x1, x2, ..., xn] == [f x1, f x2, ..., f xn]
    map f [x1, x2, ...] == [f x1, f x2, ...]
    
    >>> map (+1) [1, 2, 3]
    [2,3,4]
    

  2. map :: (a -> b) -> [a] -> [b]

    base Data.List

    map f xs is the list obtained by applying f to each element of xs, i.e.,

    map f [x1, x2, ..., xn] == [f x1, f x2, ..., f xn]
    map f [x1, x2, ...] == [f x1, f x2, ...]
    
    >>> map (+1) [1, 2, 3]
    [2,3,4]
    

  3. map :: (a -> b) -> NonEmpty a -> NonEmpty b

    base Data.List.NonEmpty

    Map a function over a NonEmpty stream.

  4. map :: (a -> b) -> [a] -> [b]

    base GHC.Base

    map f xs is the list obtained by applying f to each element of xs, i.e.,

    map f [x1, x2, ..., xn] == [f x1, f x2, ..., f xn]
    map f [x1, x2, ...] == [f x1, f x2, ...]
    
    >>> map (+1) [1, 2, 3]
    [2,3,4]
    

  5. map :: (a -> b) -> [a] -> [b]

    base GHC.List

    map f xs is the list obtained by applying f to each element of xs, i.e.,

    map f [x1, x2, ..., xn] == [f x1, f x2, ..., f xn]
    map f [x1, x2, ...] == [f x1, f x2, ...]
    
    >>> map (+1) [1, 2, 3]
    [2,3,4]
    

  6. map :: (a -> b) -> [a] -> [b]

    base GHC.OldList

    map f xs is the list obtained by applying f to each element of xs, i.e.,

    map f [x1, x2, ..., xn] == [f x1, f x2, ..., f xn]
    map f [x1, x2, ...] == [f x1, f x2, ...]
    
    >>> map (+1) [1, 2, 3]
    [2,3,4]
    

  7. map :: (Word8 -> Word8) -> ByteString -> ByteString

    bytestring Data.ByteString

    O(n) map f xs is the ByteString obtained by applying f to each element of xs.

  8. map :: (Char -> Char) -> ByteString -> ByteString

    bytestring Data.ByteString.Char8

    O(n) map f xs is the ByteString obtained by applying f to each element of xs

  9. map :: (Word8 -> Word8) -> ByteString -> ByteString

    bytestring Data.ByteString.Lazy

    O(n) map f xs is the ByteString obtained by applying f to each element of xs.

  10. map :: (Char -> Char) -> ByteString -> ByteString

    bytestring Data.ByteString.Lazy.Char8

    O(n) map f xs is the ByteString obtained by applying f to each element of xs

Page 1 of many | Next