Dep.t
is the central type of jenga's API, supporting both the description of
dependencies and computing dependencies with arbitrary dependencies.
See documentation for individual items in api.mli.
include module type of Dep_type
Dep_type.t
is the GADT implementation behind Dep.t
. Values of this type are
interpreted by jenga's build algorithm.
type 'a t
=
| Return : 'a ‑> 'a t | ||||
| Map : 'a t * ('a ‑> 'b) ‑> 'b t | ||||
| Bind : 'a t * ('a ‑> 'b t) ‑> 'b t | ||||
| All : 'a Core.sexp_opaque t list ‑> 'a list t | ||||
| Cutoff : ('a ‑> 'a ‑> bool) * 'a t ‑> 'a t | ||||
| Deferred : (unit ‑> 'a Async.Deferred.t) ‑> 'a t | ||||
| Action_stdout : Action.t t ‑> string t | ||||
| Alias : Alias.t ‑> unit t | ||||
| Path : Path.t ‑> unit t | ||||
| Group_dependencies : 'a t ‑> 'a t | ||||
| Source_if_it_exists : Path.t ‑> unit t | ||||
| Contents : Path.t ‑> string t | ||||
| Reflect_path : Path.t ‑> Reflected.Trip.t option t | ||||
| Reflect_alias : Alias.t ‑> Path.Set.t t | ||||
| Reflect_putenv : (string * string option) list t | ||||
| Buildable_targets : Path.t ‑> Path.Set.t t | ||||
| Source_files : Path.t ‑> Path.Set.t t | ||||
| Glob_listing_OLD : Fs.Glob.t ‑> Path.Set.t t | ||||
| Glob_listing : Fs.Glob.t ‑> Path.Set.t t | ||||
| Glob_change_OLD : Fs.Glob.t ‑> unit t | ||||
| Glob_change : Fs.Glob.t ‑> unit t | ||||
| Var : 'a Var.t ‑> 'a t | ||||
| Memoize : {
} ‑> 'a t |
val sexp_of_t : a. ('a ‑> Base.Sexp.t) ‑> 'a t ‑> Base.Sexp.t
val return : 'a ‑> 'a t
val deferred : (unit ‑> 'a Async.Deferred.t) ‑> 'a t
module List : sig ... end