Hoogle Search

Within LTS Haskell 24.35 (ghc-9.10.3)

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

  1. map :: forall (m :: Type -> Type) a b x . Monad m => (a -> b) -> Stream m a x -> Stream m b x

    ghc GHC.Data.Stream

    Apply a function to each element of a Stream, lazily

  2. map :: (a -> b) -> Word64Map a -> Word64Map b

    ghc GHC.Data.Word64Map.Internal

    Map a function over all values in the map.

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

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

    ghc GHC.Data.Word64Map.Lazy

    Map a function over all values in the map.

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

  4. map :: (a -> b) -> Word64Map a -> Word64Map b

    ghc GHC.Data.Word64Map.Strict

    Map a function over all values in the map.

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

  5. map :: (a -> b) -> Word64Map a -> Word64Map b

    ghc GHC.Data.Word64Map.Strict.Internal

    Map a function over all values in the map.

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

  6. map :: (Key -> Key) -> Word64Set -> Word64Set

    ghc GHC.Data.Word64Set

    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

  7. map :: (Key -> Key) -> Word64Set -> Word64Set

    ghc GHC.Data.Word64Set.Internal

    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

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

    ghc GHC.Prelude.Basic

    No documentation available.

  9. map :: forall (m :: Type -> Type) a b r . Functor m => (a -> b) -> Pipe a b m r

    pipes Pipes.Prelude

    Apply a function to all values flowing downstream

    map id = cat
    
    map (g . f) = map f >-> map g
    

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

    haskell-gi-base Data.GI.Base.ShortPrelude

    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]
    

Page 18 of many | Previous | Next