Hoogle Search

Within LTS Haskell 22.21 (ghc-9.6.5)

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

  1. map :: (Word8 -> Word8) -> ShortByteString -> ShortByteString

    bytestring Data.ByteString.Short

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

  2. map :: (Word8 -> Word8) -> ShortByteString -> ShortByteString

    bytestring Data.ByteString.Short.Internal

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

  3. map :: (Char -> Char) -> Text -> Text

    text Data.Text

    O(n) map f t is the Text obtained by applying f to each element of t. Example:

    >>> let message = pack "I am not angry. Not at all."
    
    >>> T.map (\c -> if c == '.' then '!' else c) message
    "I am not angry! Not at all!"
    
    Performs replacement on invalid scalar values.

  4. map :: (Char -> Char) -> Stream Char -> Stream Char

    text Data.Text.Internal.Fusion.Common

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

    unstream . map f . stream = map f
    

  5. map :: (Char -> Char) -> Text -> Text

    text Data.Text.Lazy

    O(n) map f t is the Text obtained by applying f to each element of t. Performs replacement on invalid scalar values.

  6. map :: (a -> b) -> IntMap a -> IntMap b

    containers Data.IntMap.Internal

    Map a function over all values in the map.

    map (++ "x") (fromList [(5,"a"), (3,"b")]) == fromList [(3, "bx"), (5, "ax")]
    

  7. map :: (a -> b) -> IntMap a -> IntMap b

    containers Data.IntMap.Lazy

    Map a function over all values in the map.

    map (++ "x") (fromList [(5,"a"), (3,"b")]) == fromList [(3, "bx"), (5, "ax")]
    

  8. map :: (a -> b) -> IntMap a -> IntMap b

    containers Data.IntMap.Strict

    Map a function over all values in the map.

    map (++ "x") (fromList [(5,"a"), (3,"b")]) == fromList [(3, "bx"), (5, "ax")]
    

  9. map :: (a -> b) -> IntMap a -> IntMap b

    containers Data.IntMap.Strict.Internal

    Map a function over all values in the map.

    map (++ "x") (fromList [(5,"a"), (3,"b")]) == fromList [(3, "bx"), (5, "ax")]
    

  10. map :: (Key -> Key) -> IntSet -> IntSet

    containers Data.IntSet

    map f s is the set obtained by applying f to each element of s. It's worth noting that the size of the result may be smaller if, for some (x,y), x /= y && f x == f y

Page 2 of many | Previous | Next