package yocaml
Module Task.DynamicSource
Utilities for dealing with tasks with dynamic dependencies.
Source
val on_content :
('content_in, 'content_out) t ->
(('meta * 'content_in) * Deps.t, ('meta * 'content_out) * Deps.t) ton_content arr lift an arrow to deal only with the content of a task.
Source
val on_metadata :
('meta_in, 'meta_out) t ->
(('meta_in * 'content) * Deps.t, ('meta_out * 'content) * Deps.t) ton_metadata arr lift an arrow to deal only with the associated metadata of a task.
Source
val on_dependencies :
(Deps.t, Deps.t) t ->
(('meta * 'content) * Deps.t, ('meta * 'content) * Deps.t) ton_dependencies arr lift an arrow to deal only with the associated dynamic deps set of a task.
keep_content () drop the metadata part of the computed task.