Hoogle Search

Within LTS Haskell 24.40 (ghc-9.10.3)

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

  1. mapServerPartT' :: (Request -> UnWebT m a -> UnWebT n b) -> ServerPartT m a -> ServerPartT n b

    happstack-server Happstack.Server.Monads

    A variant of mapServerPartT where the first argument also takes a Request. Useful if you want to runServerPartT on a different ServerPartT inside your monad (see spUnwrapErrorT).

  2. mapRqData :: (Either (Errors String) a -> Either (Errors String) b) -> RqData a -> RqData b

    happstack-server Happstack.Server.RqData

    transform the result of 'RqData a'. This is similar to fmap except it also allows you to modify the Errors not just a.

  3. mapM :: (Monad m, Ord b) => (a -> m b) -> Heap a -> m (Heap b)

    heaps Data.Heap

    O(n log n). Traverse the elements of the heap in sorted order and produce a new heap using Monadic side-effects.

  4. mapMonotonic :: Ord b => (a -> b) -> Heap a -> Heap b

    heaps Data.Heap

    O(n). Map a monotone increasing function over the heap. Provides a better constant factor for performance than map, but no checking is performed that the function provided is monotone increasing. Misuse of this function can cause a Heap to violate the heap property.

    >>> mapMonotonic (+1) (fromList [1,2,3])
    fromList [2,3,4]
    
    >>> mapMonotonic (*2) (fromList [1,2,3])
    fromList [2,4,6]
    

  5. map' :: Map' f ss => (forall (s :: k) . () => t s -> t' (f s)) -> PL t ss -> PL t' (S' f ss)

    hetero-parameter-list Data.HeteroParList

    No documentation available.

  6. mapM' :: (MapM' f ss, Applicative m) => (forall (s :: k) . () => t s -> m (t' (f s))) -> PL t ss -> m (PL t' (Ss' f ss))

    hetero-parameter-list Data.HeteroParList

    No documentation available.

  7. mapAnnotation :: (a -> b) -> Node a tag text -> Node b tag text

    hexpat Text.XML.Expat.Annotated

    Modify this node's annotation and all its children recursively if it's an element, otherwise no-op.

  8. mapAnnotation :: (a -> b) -> Node a tag text -> Node b tag text

    hexpat Text.XML.Expat.Extended

    Modify this node's annotation and all its children recursively if it's an element, otherwise no-op.

  9. mapDocumentAnnotation :: (a -> b) -> Document a tag text -> Document b tag text

    hexpat Text.XML.Expat.Extended

    Modify the annotation of every node in the document recursively.

  10. mapAllTags :: NodeClass n c => (tag -> tag') -> n c tag text -> n c tag' text

    hexpat Text.XML.Expat.Internal.NodeClass

    Map all tags (both tag names and attribute names) recursively.

Page 262 of many | Previous | Next