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 :: Hashable b => (a -> b) -> HashSet a -> HashSet bunordered-containers Data.HashSet Transform this set by applying a function to every value. The resulting set may be smaller than the source.
>>> HashSet.map show (HashSet.fromList [1,2,3]) HashSet.fromList ["1","2","3"]
map :: Hashable b => (a -> b) -> HashSet a -> HashSet bunordered-containers Data.HashSet.Internal Transform this set by applying a function to every value. The resulting set may be smaller than the source.
>>> HashSet.map show (HashSet.fromList [1,2,3]) HashSet.fromList ["1","2","3"]
map :: forall (m :: Type -> Type) a b . Monad m => (a -> b) -> ConduitT a b m ()conduit Data.Conduit.Combinators Apply a transformation to all values in a stream. Subject to fusion
map :: forall (m :: Type -> Type) a b . Monad m => (a -> b) -> ConduitT a b m ()conduit Data.Conduit.List Apply a transformation to all values in a stream. Subject to fusion Since 0.3.0
map :: FoldCase s2 => (s1 -> s2) -> CI s1 -> CI s2case-insensitive Data.CaseInsensitive Transform the original string-like value but keep it case insensitive.
map :: (MonadGen m, Ord k) => Range Int -> m (k, v) -> m (Map k v)hedgehog Hedgehog.Gen Generates a map using a Range to determine the length. This may fail to generate anything if the keys produced by the generator do not account for a large enough number of unique items to satify the required map size.
map :: (MonadGen m, Ord k) => Range Int -> m (k, v) -> m (Map k v)hedgehog Hedgehog.Internal.Gen Generates a map using a Range to determine the length. This may fail to generate anything if the keys produced by the generator do not account for a large enough number of unique items to satify the required map size.
map :: (a -> b) -> NonEmpty a -> NonEmpty bbase-compat Data.List.NonEmpty.Compat Map a function over a NonEmpty stream.
map :: (a -> b) -> DList a -> DList bdlist Data.DList map f xs is the DList obtained by applying f to each element of xs. <math>(length (toList xs)). map obeys the law:
toList (map f xs) = map f (toList xs)
map :: (a -> b) -> DNonEmpty a -> DNonEmpty bdlist Data.DList.DNonEmpty map f xs is the DNonEmpty obtained by applying f to each element of xs. <math>(length (toNonEmpty xs)). map obeys the law:
toNonEmpty (map f xs) = map f (toNonEmpty xs)