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.

  1. map :: (a -> b) -> Slist a -> Slist b

    slist 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, ...]
    

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

    slist 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, ...]
    

  3. map :: forall a (m :: Nat) . IsStaticText a => (Elem a -> Elem a) -> Static a m -> Static a m

    static-text Data.StaticText

    Map a Static to a Static of the same length.

    >>> map toUpper $(st "Hello") :: Static String 5
    "HELLO"
    

  4. map :: IsStaticText a => (Elem a -> Elem a) -> a -> a

    static-text Data.StaticText.Class

    No documentation available.

  5. map :: forall t (m :: Type -> Type) a b . (IsStream t, Monad m) => (a -> b) -> t m a -> t m b

    streamly Streamly.Internal.Data.Stream.IsStream

    map = fmap
    
    Same as fmap.
    > D.toList $ D.map (+1) $ D.fromList [1,2,3]
    [2,3,4]
    

  6. map :: forall t (m :: Type -> Type) a b . (IsStream t, Monad m) => (a -> b) -> t m a -> t m b

    streamly Streamly.Internal.Data.Stream.IsStream

    map = fmap
    
    Same as fmap.
    > D.toList $ D.map (+1) $ D.fromList [1,2,3]
    [2,3,4]
    

  7. map :: forall (m :: Type -> Type) a b . Monad m => (a -> b) -> SerialT m a -> SerialT m b

    streamly Streamly.Internal.Data.Stream.Serial

    map = fmap
    
    Same as fmap.
    > S.toList $ S.map (+1) $ S.fromList [1,2,3]
    [2,3,4]
    

  8. map :: forall t (m :: Type -> Type) a b . (IsStream t, Monad m) => (a -> b) -> t m a -> t m b

    streamly Streamly.Prelude

    map = fmap
    
    Same as fmap.
    > D.toList $ D.map (+1) $ D.fromList [1,2,3]
    [2,3,4]
    

  9. map :: UI Element

    threepenny-gui Graphics.UI.Threepenny.Elements

    No documentation available.

  10. 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.

Page 42 of many | Previous | Next