Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- type ShakeValue a = (Show a, Typeable a, Eq a, Hashable a, NFData a)
- actionFork :: Action a -> (Async a -> Action b) -> Action b
- actionBracket :: IO a -> (a -> IO b) -> (a -> Action c) -> Action c
- actionCatch :: Exception e => Action a -> (e -> Action a) -> Action a
- actionFinally :: Action a -> IO b -> Action a
- alwaysRerun :: Action ()
- apply1 :: (RuleResult key ~ value, ShakeValue key, Typeable value) => key -> Action value
- apply :: (RuleResult key ~ value, ShakeValue key, Typeable value) => [key] -> Action [value]
- parallel :: [Action a] -> Action [a]
- reschedule :: Double -> Action ()
- runActions :: Database -> [Action a] -> IO [a]
- getDirtySet :: Action [(Key, Int)]
- getKeysAndVisitedAge :: Action [(Key, Int)]
Documentation
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 #
reschedule :: Double -> Action () Source #