Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- newDatabase :: Dynamic -> TheRules -> IO Database
- incDatabase :: Database -> Maybe [Key] -> IO ()
- build :: forall key value. (RuleResult key ~ value, Typeable key, Show key, Hashable key, Eq key, Typeable value) => Database -> Stack -> [key] -> IO ([Key], [value])
- getDirtySet :: Database -> IO [(Key, Int)]
- getKeysAndVisitAge :: Database -> IO [(Key, Int)]
Documentation
incDatabase :: Database -> Maybe [Key] -> IO () Source #
Increment the step and mark dirty. Assumes that the database is not running a build
build :: forall key value. (RuleResult key ~ value, Typeable key, Show key, Hashable key, Eq key, Typeable value) => Database -> Stack -> [key] -> IO ([Key], [value]) Source #
Unwrap and build a list of keys in parallel