hls-graph-2.9.0.0: Haskell Language Server internal graph API
Safe HaskellSafe-Inferred
LanguageGHC2021

Development.IDE.Graph.KeyMap

Documentation

data Key Source #

Instances

Instances details
Show Key Source # 
Instance details

Defined in Development.IDE.Graph.Internal.Key

Methods

showsPrec :: Int -> Key -> ShowS #

show :: Key -> String #

showList :: [Key] -> ShowS #

Eq Key Source # 
Instance details

Defined in Development.IDE.Graph.Internal.Key

Methods

(==) :: Key -> Key -> Bool #

(/=) :: Key -> Key -> Bool #

Hashable Key Source # 
Instance details

Defined in Development.IDE.Graph.Internal.Key

Methods

hashWithSalt :: Int -> Key -> Int #

hash :: Key -> Int #

data KeyMap a Source #

Instances

Instances details
Monoid (KeyMap a) Source # 
Instance details

Defined in Development.IDE.Graph.Internal.Key

Methods

mempty :: KeyMap a #

mappend :: KeyMap a -> KeyMap a -> KeyMap a #

mconcat :: [KeyMap a] -> KeyMap a #

Semigroup (KeyMap a) Source # 
Instance details

Defined in Development.IDE.Graph.Internal.Key

Methods

(<>) :: KeyMap a -> KeyMap a -> KeyMap a #

sconcat :: NonEmpty (KeyMap a) -> KeyMap a #

stimes :: Integral b => b -> KeyMap a -> KeyMap a #

Show a => Show (KeyMap a) Source # 
Instance details

Defined in Development.IDE.Graph.Internal.Key

Methods

showsPrec :: Int -> KeyMap a -> ShowS #

show :: KeyMap a -> String #

showList :: [KeyMap a] -> ShowS #

Eq a => Eq (KeyMap a) Source # 
Instance details

Defined in Development.IDE.Graph.Internal.Key

Methods

(==) :: KeyMap a -> KeyMap a -> Bool #

(/=) :: KeyMap a -> KeyMap a -> Bool #

Ord a => Ord (KeyMap a) Source # 
Instance details

Defined in Development.IDE.Graph.Internal.Key

Methods

compare :: KeyMap a -> KeyMap a -> Ordering #

(<) :: KeyMap a -> KeyMap a -> Bool #

(<=) :: KeyMap a -> KeyMap a -> Bool #

(>) :: KeyMap a -> KeyMap a -> Bool #

(>=) :: KeyMap a -> KeyMap a -> Bool #

max :: KeyMap a -> KeyMap a -> KeyMap a #

min :: KeyMap a -> KeyMap a -> KeyMap a #

mapKeyMap :: (a -> b) -> KeyMap a -> KeyMap b Source #

insertKeyMap :: Key -> a -> KeyMap a -> KeyMap a Source #

fromListWithKeyMap :: (a -> a -> a) -> [(Key, a)] -> KeyMap a Source #

toListKeyMap :: KeyMap a -> [(Key, a)] Source #