Hoogle Search

Within LTS Haskell 24.4 (ghc-9.10.2)

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

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

    os-string System.OsString.Data.ByteString.Short.Word16

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

  2. map :: (OsChar -> OsChar) -> OsString -> OsString

    os-string System.OsString.Internal

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

  3. map :: (PosixChar -> PosixChar) -> PosixString -> PosixString

    os-string System.OsString.Posix

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

  4. map :: (WindowsChar -> WindowsChar) -> WindowsString -> WindowsString

    os-string System.OsString.Windows

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

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

    relude Relude.List.Reexport

    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, ...]
    
    this means that map id == id

    Examples

    >>> map (+1) [1, 2, 3]
    [2,3,4]
    
    >>> map id [1, 2, 3]
    [1,2,3]
    
    >>> map (\n -> 3 * n + 1) [1, 2, 3]
    [4,7,10]
    

  6. map :: (v1 -> v2) -> InsOrdHashMap k v1 -> InsOrdHashMap k v2

    insert-ordered-containers Data.HashMap.Strict.InsOrd

    No documentation available.

  7. map :: (Hashable b, Eq b) => (a -> b) -> InsOrdHashSet a -> InsOrdHashSet b

    insert-ordered-containers Data.HashSet.InsOrd

    No documentation available.

  8. map :: forall (m :: Type -> Type) a b r . Monad m => (a -> b) -> Stream (Of a) m r -> Stream (Of b) m r

    streaming Streaming.Prelude

    Standard map on the elements of a stream.

    >>> S.stdoutLn $ S.map reverse $ each (words "alpha beta")
    ahpla
    ateb
    

  9. map :: (Char -> Char) -> YiString -> YiString

    yi-rope Yi.Rope

    Maps the characters over the underlying string.

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

    base-compat-batteries Data.List.NonEmpty.Compat

    Map a function over a NonEmpty stream.

Page 22 of many | Previous | Next