napkin-1.0.0
Safe HaskellNone
LanguageGHC2021

Napkin.Spec.Graph.RunGraph

Synopsis

Documentation

addNode :: forall (m :: Type -> Type) b. Monad m => TaskId -> Executable b -> (Task (Executable b) -> Task (Executable b)) -> StateT (TasksDAG Full b) m TaskId #

applyExecutionPlan :: TasksDAG Table b -> TasksDAG Full b -> TasksDAG Full b #

Given table task's graph applies update strategies to the whole table subgraph

whoProducesWhat :: forall {k} (kind :: k) b. TasksDAG kind b -> Map Artifact TaskId #

checkCycles :: forall (m :: Type -> Type) b. (Monad m, MonadError (NonEmpty ValidationError) m) => StateT (TasksDAG Full b) m () #