Hoogle Search
Within LTS Haskell 24.6 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
map :: (a -> b) -> Slist a -> Slist bslist Slist O(n). Applies the given function to each element of the slist.
map f (slist [x1, x2, ..., xn]) == slist [f x1, f x2, ..., f xn] map f (infiniteSlist [x1, x2, ...]) == infiniteSlist [f x1, f x2, ...]
map :: (a -> b) -> Slist a -> Slist bslist Slist.Type O(n). Applies the given function to each element of the slist.
map f (slist [x1, x2, ..., xn]) == slist [f x1, f x2, ..., f xn] map f (infiniteSlist [x1, x2, ...]) == infiniteSlist [f x1, f x2, ...]
map :: forall a (m :: Nat) . IsStaticText a => (Elem a -> Elem a) -> Static a m -> Static a mstatic-text Data.StaticText Map a Static to a Static of the same length.
>>> map toUpper $(st "Hello") :: Static String 5 "HELLO"
map :: IsStaticText a => (Elem a -> Elem a) -> a -> astatic-text Data.StaticText.Class No documentation available.
map :: forall t (m :: Type -> Type) a b . (IsStream t, Monad m) => (a -> b) -> t m a -> t m bstreamly Streamly.Internal.Data.Stream.IsStream map = fmap
Same as fmap.> D.toList $ D.map (+1) $ D.fromList [1,2,3] [2,3,4]
map :: forall t (m :: Type -> Type) a b . (IsStream t, Monad m) => (a -> b) -> t m a -> t m bstreamly Streamly.Internal.Data.Stream.IsStream map = fmap
Same as fmap.> D.toList $ D.map (+1) $ D.fromList [1,2,3] [2,3,4]
map :: forall (m :: Type -> Type) a b . Monad m => (a -> b) -> SerialT m a -> SerialT m bstreamly Streamly.Internal.Data.Stream.Serial map = fmap
Same as fmap.> S.toList $ S.map (+1) $ S.fromList [1,2,3] [2,3,4]
map :: forall t (m :: Type -> Type) a b . (IsStream t, Monad m) => (a -> b) -> t m a -> t m bstreamly Streamly.Prelude map = fmap
Same as fmap.> D.toList $ D.map (+1) $ D.fromList [1,2,3] [2,3,4]
-
threepenny-gui Graphics.UI.Threepenny.Elements No documentation available.
map :: Ord k => TomlCodec k -> TomlCodec v -> Key -> TomlCodec (Map k v)tomland Toml.Codec.Combinator.Map Bidirectional codec for Map. It takes birectional converter for keys and values and produces bidirectional codec for Map. Currently it works only with array of tables, so you need to specify Maps in TOML files like this:
myMap = [ { name = "foo", payload = 42 } , { name = "bar", payload = 69 } ]
TomlCodec for such TOML field can look like this:Toml.map (Toml.text "name") (Toml.int "payload") "myMap"
If there's no key with the name "myMap" then empty Map is returned.