hls-graph-2.7.0.0: Haskell Language Server internal graph API
Safe HaskellNone
LanguageGHC2021

Development.IDE.Graph.Internal.Rules

Synopsis

Documentation

type family RuleResult key #

The type mapping between the key or a rule and the resulting value.

action :: Action a -> Rules () #

addRule :: (RuleResult key ~ value, Typeable key, Hashable key, Eq key, Typeable value) => (key -> Maybe ByteString -> RunMode -> Action (RunResult value)) -> Rules () #

runRules :: Dynamic -> Rules () -> IO (TheRules, [Action ()]) #