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.
map :: forall i o u (m :: Type -> Type) . (i -> o) -> Pipe i o u m uconduino Data.Conduino.Combinators Process every incoming item with a pure function, and yield its output.
map :: (a -> b) -> IntervalMap k a -> IntervalMap k bdata-interval Data.IntervalMap.Lazy Map a function over all values in the map.
map :: (a -> b) -> IntervalMap k a -> IntervalMap k bdata-interval Data.IntervalMap.Strict Map a function over all values in the map.
-
dimensional Numeric.Units.Dimensional.Prelude 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]
-
distribution-opensuse OpenSuse.Prelude 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]
-
faktory Faktory.Prelude 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 :: Natural n => (a -> b) -> T n a -> T n bfixed-length Data.FixedLength No documentation available.
map :: (HVectorF v, ArityC c (ElemsF v)) => Proxy c -> (forall a . c a => f a -> g a) -> v f -> v gfixed-vector-hetero Data.Vector.HFixed Apply function to every value of parametrized product.
>>> map (Proxy @Num) (Identity . fromMaybe 0) (mk2F (Just 12) Nothing :: HVecF '[Double, Int] Maybe) [Identity 12.0,Identity 0]
map :: (a -> b) -> Map k a -> Map k bhashmap Data.HashMap Map a function over all values in the map.
map :: (Hashable b, Ord b) => (a -> b) -> Set a -> Set bhashmap Data.HashSet 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