hls-graph-1.6.0.0: Haskell Language Server internal graph API
Safe HaskellNone
LanguageHaskell2010

Development.IDE.Graph.Internal.Rules

Synopsis

Documentation

type family RuleResult key Source #

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

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