Hoogle Search

Within LTS Haskell 24.66 (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. class BiPolyMap (map :: Type -> Type -> Type)

    mono-traversable Data.Containers

    A Map type polymorphic in both its key and value.

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

    mono-traversable Data.Containers

    Polymorphic typeclass for interacting with different map types

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

    mono-traversable Data.Containers

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

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

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

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

    mono-traversable Data.Containers

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

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

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

    mono-traversable Data.Containers

    Filter values in a map.

  10. insertMap :: IsMap map => ContainerKey map -> MapValue map -> map -> map

    mono-traversable Data.Containers

    Insert a key-value pair into a map.

Page 486 of many | Previous | Next