Hoogle Search

Within LTS Haskell 24.33 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. mappedPost :: (Monad m, Functor g) => (forall x . () => f x -> m (g x)) -> Stream f m r -> Stream g m r

    streaming Streaming.Prelude

    A version of mapped that imposes a Functor constraint on the target functor rather than the source functor. This version should be preferred if fmap on the target functor is cheaper.

  2. maps :: forall (m :: Type -> Type) f g r . (Monad m, Functor f) => (forall x . () => f x -> g x) -> Stream f m r -> Stream g m r

    streaming Streaming.Prelude

    Map layers of one functor to another with a transformation. Compare hoist, which has a similar effect on the monadic parameter.

    maps id = id
    maps f . maps g = maps (f . g)
    

  3. mapsPost :: forall (m :: Type -> Type) f g r . (Monad m, Functor g) => (forall x . () => f x -> g x) -> Stream f m r -> Stream g m r

    streaming Streaming.Prelude

    Map layers of one functor to another with a transformation. Compare hoist, which has a similar effect on the monadic parameter.

    mapsPost id = id
    mapsPost f . mapsPost g = mapsPost (f . g)
    mapsPost f = maps f
    
    mapsPost is essentially the same as maps, but it imposes a Functor constraint on its target functor rather than its source functor. It should be preferred if fmap is cheaper for the target functor than for the source functor.

  4. mapMaybe :: Filterable f => (a -> Maybe b) -> f a -> f b

    witherable Witherable

    Like mapMaybe.

  5. mapStateVar :: (b -> a) -> (a -> b) -> StateVar a -> StateVar b

    StateVar Data.StateVar

    Change the type of a StateVar

  6. mapFromUnboxed :: PrimType a => (a -> b) -> UArray a -> Array b

    basement Basement.BoxedArray

    No documentation available.

  7. mapToUnboxed :: PrimType b => (a -> b) -> Array a -> UArray b

    basement Basement.BoxedArray

    No documentation available.

  8. mappend :: Monoid a => a -> a -> a

    basement Basement.Compat.Base

    An associative operation NOTE: This method is redundant and has the default implementation mappend = (<>) since base-4.11.0.0. Should it be implemented manually, since mappend is a synonym for (<>), it is expected that the two functions are defined the same way. In a future GHC release mappend will be removed from Monoid.

  9. mappend :: Monoid a => a -> a -> a

    basement Basement.Imports

    An associative operation NOTE: This method is redundant and has the default implementation mappend = (<>) since base-4.11.0.0. Should it be implemented manually, since mappend is a synonym for (<>), it is expected that the two functions are defined the same way. In a future GHC release mappend will be removed from Monoid.

  10. mapM :: forall m a b (n :: Nat) . Monad m => (a -> m b) -> ListN n a -> m (ListN n b)

    basement Basement.Sized.List

    Map each element of a List to a monadic action, evaluate these actions sequentially and collect the results

Page 143 of many | Previous | Next