Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- shakeOptions :: ShakeOptions
- data Rules a
- data Action a
- action :: Action a -> Rules ()
- data Key = forall a.(Typeable a, Eq a, Hashable a, Show a) => Key a
- actionFinally :: Action a -> IO b -> Action a
- actionBracket :: IO a -> (a -> IO b) -> (a -> Action c) -> Action c
- actionCatch :: Exception e => Action a -> (e -> Action a) -> Action a
- actionFork :: Action a -> (Async a -> Action b) -> Action b
- data ShakeOptions
- getShakeExtra :: Typeable a => Action (Maybe a)
- getShakeExtraRules :: Typeable a => Rules (Maybe a)
- newShakeExtra :: Typeable a => a -> Maybe Dynamic
- parallel :: [Action a] -> Action [a]
- type ShakeValue a = (Show a, Typeable a, Eq a, Hashable a, NFData a)
- type family RuleResult key
- alwaysRerun :: Action ()
- reschedule :: Double -> Action ()
- getDirtySet :: Action [(Key, Int)]
- getKeysAndVisitedAge :: Action [(Key, Int)]
Documentation
Instances
Instances
Configuration
data ShakeOptions Source #
Explicit parallelism
Oracle rules
type family RuleResult key Source #
The type mapping between the key
or a rule and the resulting value
.
Special rules
alwaysRerun :: Action () Source #
Always rerun this rule when dirty, regardless of the dependencies.
Batching
reschedule :: Double -> Action () Source #