Hoogle Search

Within LTS Haskell 24.34 (ghc-9.10.3)

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

  1. contramapMaybe :: (a -> Maybe b) -> OutputStream b -> IO (OutputStream a)

    io-streams System.IO.Streams.Combinators

    Contravariant counterpart to contramapMaybe. contramap f s passes all input to s through the function f. Discards all the elements for which f returns Nothing. Since: 1.2.1.0

  2. amap :: Annotated ast => (l -> l) -> ast l -> ast l

    haskell-src-exts Language.Haskell.Exts.Syntax

    Change the annotation of an AST node. Note that only the annotation of the node itself is affected, and not the annotations of any child nodes. if all nodes in the AST tree are to be affected, use fmap.

  3. class BiPolyMap (map :: Type -> Type -> Type)

    mono-traversable Data.Containers

    A Map type polymorphic in both its key and value.

  4. class (MonoTraversable map, SetContainer map) => IsMap map

    mono-traversable Data.Containers

    Polymorphic typeclass for interacting with different map types

  5. class PolyMap (map :: Type -> Type)

    mono-traversable Data.Containers

    A guaranteed-polymorphic Map, which allows for more polymorphic versions of functions.

  6. adjustMap :: IsMap map => (MapValue map -> MapValue map) -> ContainerKey map -> map -> map

    mono-traversable Data.Containers

    Apply a function to the value of a given key. Returns the input map when the key-value pair does not exist.

  7. alterMap :: IsMap map => (Maybe (MapValue map) -> Maybe (MapValue map)) -> ContainerKey map -> map -> map

    mono-traversable Data.Containers

    Update/Delete the value of a given key. Applies a function to previous value of a given key, if it results in Nothing delete the key-value pair from the map, otherwise replace the previous value with the new value.

  8. deleteMap :: IsMap map => ContainerKey map -> map -> map

    mono-traversable Data.Containers

    Delete a key-value pair of a map using a specified key.

  9. differenceMap :: PolyMap map => map value1 -> map value2 -> map value1

    mono-traversable Data.Containers

    Get the difference between two maps, using the left map's values.

  10. filterMap :: IsMap map => (MapValue map -> Bool) -> map -> map

    mono-traversable Data.Containers

    Filter values in a map.

Page 485 of many | Previous | Next