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

Development.IDE.Graph.Internal.Key

Contents

Synopsis

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 KeyValue Source #

Constructors

forall a.(Typeable a, Hashable a, Show a) => KeyValue a Text 

Instances

Instances details
Show KeyValue Source # 
Instance details

Defined in Development.IDE.Graph.Internal.Key

Eq KeyValue Source # 
Instance details

Defined in Development.IDE.Graph.Internal.Key

Hashable KeyValue Source # 
Instance details

Defined in Development.IDE.Graph.Internal.Key

Methods

hashWithSalt :: Int -> KeyValue -> Int #

hash :: KeyValue -> Int #

pattern Key :: () => (Typeable a, Hashable a, Show a) => a -> Key Source #

newKey :: (Typeable a, Hashable a, Show a) => a -> Key Source #

KeyMap

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 #

KeySet

data KeySet Source #

Instances

Instances details
Monoid KeySet Source # 
Instance details

Defined in Development.IDE.Graph.Internal.Key

Semigroup KeySet Source # 
Instance details

Defined in Development.IDE.Graph.Internal.Key

Show KeySet Source # 
Instance details

Defined in Development.IDE.Graph.Internal.Key

NFData KeySet Source # 
Instance details

Defined in Development.IDE.Graph.Internal.Key

Methods

rnf :: KeySet -> () #

Eq KeySet Source # 
Instance details

Defined in Development.IDE.Graph.Internal.Key

Methods

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

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

Ord KeySet Source # 
Instance details

Defined in Development.IDE.Graph.Internal.Key