hmk-0.9.5: A make alternative based on Plan9's mk.Source codeContentsIndex
Control.Hmk
Documentation
module Control.Hmk.Analyze
mk :: (Ord a, Applicative m, Monad m) => [Rule m a] -> [a] -> m (Schedule m)Source
mkConcurrent :: (Ord a, Show a) => Int -> [Rule IO a] -> [a] -> IO ()Source
type Cmp m a = a -> a -> m BoolSource
data Rule m a Source
Constructors
Rule
target :: a
prereqs :: [a]
recipe :: Maybe ([a] -> Task m)
isStale :: Cmp m a
show/hide Instances
Show a => Show (Rule m a)
type Task m = m ResultSource
type DepGraph m a = [Tree m a]Source
data Tree m a Source
Constructors
Node a (DepGraph m a) (Rule m a)
show/hide Instances
Show a => Show (Tree m a)
type Schedule m = [Task m]Source
data Result Source
Constructors
TaskSuccess
TaskFailure
show/hide Instances
Produced by Haddock version 2.4.2