Hoogle Search

Within LTS Haskell 24.38 (ghc-9.10.3)

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

  1. 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]
    

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

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

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

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

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

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

  8. mapNodeContainer :: (NodeClass n c, List c') => (forall a . () => c a -> ItemM c (c' a)) -> n c tag text -> ItemM c (n c' tag text)

    hexpat Text.XML.Expat.Internal.NodeClass

    Change a node recursively from one container type to another, with a specified function to convert the container type.

  9. mapNodeListContainer :: (NodeClass n c, List c') => (forall a . () => c a -> ItemM c (c' a)) -> c (n c tag text) -> ItemM c (c' (n c' tag text))

    hexpat Text.XML.Expat.Internal.NodeClass

    Change a list of nodes recursively from one container type to another, with a specified function to convert the container type.

  10. mapDBT :: (DBState n -> DBState m) -> (m (a, DBState m) -> n (b, DBState n)) -> DBT m a -> DBT n b

    hpqtypes Database.PostgreSQL.PQTypes

    Transform the underlying monad.

Page 222 of many | Previous | Next