Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Data.AssocList.List.Concept
Synopsis
- type AssocList a b = [(a, b)]
- data MissingAssocListKey = MissingAssocListKey
Association list type
Related modules
- Data.AssocList.List.Eq - Functions that involve
Eq
constraints on the keys - Data.AssocList.List.Equivalence - Most of the same functions as
the
Eq
module, but with anEquivalence
parameter instead of anEq
constraint - Data.AssocList.List.Predicate - Most of the same functions as the
Eq
module, but specifying keys using aPredicate
rather than a particular key - Data.AssocList.List.Ord - Functions that involve
Ord
constraints on the keys - Data.AssocList.List.Comparison - The same functions as the
Ord
module, but with aComparison
parameter instead of anOrd
constraint.
Exception
data MissingAssocListKey Source #
This exception shows up when one attempts to retrieve a value by key from an association list using a partial function with a type signature such as
(!) :: Eq a => AssocList a b -> a -> b
but no result can be obtained because the requested key is not present exists in the mapping.
Constructors
MissingAssocListKey |
Instances
Eq MissingAssocListKey Source # | |
Defined in Data.AssocList.List.Concept Methods (==) :: MissingAssocListKey -> MissingAssocListKey -> Bool # (/=) :: MissingAssocListKey -> MissingAssocListKey -> Bool # | |
Show MissingAssocListKey Source # | |
Defined in Data.AssocList.List.Concept Methods showsPrec :: Int -> MissingAssocListKey -> ShowS # show :: MissingAssocListKey -> String # showList :: [MissingAssocListKey] -> ShowS # | |
Exception MissingAssocListKey Source # | |
Defined in Data.AssocList.List.Concept Methods toException :: MissingAssocListKey -> SomeException # fromException :: SomeException -> Maybe MissingAssocListKey # |