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.
mapServerPartT' :: (Request -> UnWebT m a -> UnWebT n b) -> ServerPartT m a -> ServerPartT n bhappstack-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).
mapRqData :: (Either (Errors String) a -> Either (Errors String) b) -> RqData a -> RqData bhappstack-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.
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.
mapMonotonic :: Ord b => (a -> b) -> Heap a -> Heap bheaps 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]
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.
-
hetero-parameter-list Data.HeteroParList No documentation available.
mapAnnotation :: (a -> b) -> Node a tag text -> Node b tag texthexpat Text.XML.Expat.Annotated Modify this node's annotation and all its children recursively if it's an element, otherwise no-op.
mapAnnotation :: (a -> b) -> Node a tag text -> Node b tag texthexpat Text.XML.Expat.Extended Modify this node's annotation and all its children recursively if it's an element, otherwise no-op.
mapDocumentAnnotation :: (a -> b) -> Document a tag text -> Document b tag texthexpat Text.XML.Expat.Extended Modify the annotation of every node in the document recursively.
mapAllTags :: NodeClass n c => (tag -> tag') -> n c tag text -> n c tag' texthexpat Text.XML.Expat.Internal.NodeClass Map all tags (both tag names and attribute names) recursively.