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.
-
ghc-internal GHC.Internal.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, ...]
this means that map id == idExamples
>>> 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]
-
ghc-internal GHC.Internal.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, ...]
this means that map id == idExamples
>>> 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]
-
ghc-internal GHC.Internal.Data.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, ...]
this means that map id == idExamples
>>> 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]
-
ghc-internal GHC.Internal.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, ...]
this means that map id == idExamples
>>> 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]
map :: (a -> b) -> Infinite a -> Infinite binfinite-list Data.List.Infinite Apply a function to every element of an infinite list.
map :: (Index ix, Source r e') => (e' -> e) -> Array r ix e' -> Array D ix emassiv Data.Massiv.Array Map a function over an array
map :: forall (m :: Type -> Type) r . Monad m => (Word8 -> Word8) -> Pipe ByteString ByteString m rpipes-bytestring Pipes.ByteString Apply a transformation to each Word8 in the stream
map :: Functor f => (a -> b) -> f a -> f bprotolude Protolude No documentation available.
map :: Ord c => (a -> c) -> Bimap a b -> Bimap c bbimap Data.Bimap O(n*log n) Map a function over all the left keys in the map. Version 0.3
map :: (Char -> Char) -> JSString -> JSStringjsaddle Data.JSString O(n) map f t is the JSString obtained by applying f to each element of t. Subject to fusion. Performs replacement on invalid scalar values.