Hoogle Search

Within LTS Haskell 24.69 (ghc-9.10.3)

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

  1. module Data.Greskell.PMap

    This module defines PMap, a map with Text keys and cardinality options.

  2. data PMap (c :: Type -> Type) v

    greskell Data.Greskell.PMap

    A property map, which has text keys and v values. c specifies the cardinality of each item, and should be an instance of NonEmptyLike. You can look up values from PMap using key types of PMapKey class.

  3. class PMapKey k

    greskell Data.Greskell.PMap

    A typed key for PMap.

  4. data PMapLookupException

    greskell Data.Greskell.PMap

    An Exception raised when looking up values from PMap.

  5. PMapNoSuchKey :: Text -> PMapLookupException

    greskell Data.Greskell.PMap

    The PMap doesn't have the given key.

  6. PMapParseError :: Text -> String -> PMapLookupException

    greskell Data.Greskell.PMap

    Failed to parse the value into the type that the PMapKey indicates. The Text is the key, and the String is the error message.

  7. pMapDecribeError :: PMapLookupException -> String

    greskell Data.Greskell.PMap

    Make a human-readable description on PMapLookupException.

  8. pMapDelete :: forall (c :: Type -> Type) v . Text -> PMap c v -> PMap c v

    greskell Data.Greskell.PMap

    Delete a key and all values associated with it.

  9. pMapFromList :: forall (c :: Type -> Type) v . NonEmptyLike c => [(Text, v)] -> PMap c v

    greskell Data.Greskell.PMap

    Make a PMap from list of entries.

  10. pMapInsert :: forall (c :: Type -> Type) v . NonEmptyLike c => Text -> v -> PMap c v -> PMap c v

    greskell Data.Greskell.PMap

    Insert a key-value pair to PMap. If it already has some items for that key, append method of the NonEmptyLike type c determines its behavior.

Page 1170 of many | Previous | Next