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

Development.IDE.Graph.Internal.Action

Synopsis

Documentation

type ShakeValue a = (Show a, Typeable a, Eq a, Hashable a, NFData a) Source #

actionFork :: Action a -> (Async a -> Action b) -> Action b Source #

actionBracket :: IO a -> (a -> IO b) -> (a -> Action c) -> Action c Source #

actionCatch :: Exception e => Action a -> (e -> Action a) -> Action a Source #

alwaysRerun :: Action () Source #

Always rerun this rule when dirty, regardless of the dependencies.

apply1 :: (RuleResult key ~ value, ShakeValue key, Typeable value) => key -> Action value Source #

apply :: (RuleResult key ~ value, ShakeValue key, Typeable value) => [key] -> Action [value] Source #

applyWithoutDependency :: (RuleResult key ~ value, ShakeValue key, Typeable value) => [key] -> Action [value] Source #

Evaluate a list of keys without recording any dependencies.

parallel :: [Action a] -> Action [a] Source #

runActions :: Database -> [Action a] -> IO [a] Source #

getDirtySet :: Action [(Key, Int)] Source #

Returns the set of dirty keys annotated with their age (in # of builds)