Hoogle Search

Within LTS Haskell 24.33 (ghc-9.10.3)

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

  1. 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.

  2. 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]
    

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

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

    No documentation available.

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

    insert-ordered-containers Data.HashSet.InsOrd

    No documentation available.

  5. 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
    

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

    yi-rope Yi.Rope

    Maps the characters over the underlying string.

  7. map :: (PrimType a, PrimType b) => (a -> b) -> Block a -> Block b

    basement Basement.Block

    Map all element a from a block to a new block of b

  8. map :: forall a b (n :: Nat) . (PrimType a, PrimType b) => (a -> b) -> BlockN n a -> BlockN n b

    basement Basement.Sized.Block

    No documentation available.

  9. map :: forall a b (n :: Nat) . (a -> b) -> ListN n a -> ListN n b

    basement Basement.Sized.List

    Map all elements in a list

  10. map :: forall a b (n :: Nat) . (PrimType a, PrimType b) => (a -> b) -> UVect n a -> UVect n b

    basement Basement.Sized.UVect

    No documentation available.

Page 11 of many | Previous | Next