A facet's declarative configuration.
- build : ι → Lake.IndexBuildM (DataFam name)
The facet's build (function).
- getJob? : Option (DataFam name → Lake.BuildJob Unit)
Does this facet produce an associated asynchronous job?
Instances For
Equations
- Lake.instInhabitedFacetConfig = { default := { build := default, getJob? := default } }
@[inline, reducible]
abbrev
Lake.FacetConfig.name
{DataFam : Lake.Name → Type}
{ι : Type}
{name : Lake.Name}
:
Lake.FacetConfig DataFam ι name → Lake.Name
Equations
- Lake.FacetConfig.name x = name
Instances For
@[inline]
def
Lake.mkFacetConfig
{ι : Type}
{α : Type}
{Fam : Lake.Name → Type}
{facet : Lake.Name}
(build : ι → Lake.IndexBuildM α)
[h : Lake.FamilyOut Fam facet α]
:
Lake.FacetConfig Fam ι facet
A smart constructor for facet configurations that are not known to generate targets.
Equations
- Lake.mkFacetConfig build = { build := cast ⋯ build, getJob? := none }
Instances For
@[inline]
def
Lake.mkFacetJobConfigSmall
{ι : Type}
{α : Type}
{Fam : Lake.Name → Type}
{facet : Lake.Name}
(build : ι → Lake.IndexBuildM (Lake.BuildJob α))
[h : Lake.FamilyOut Fam facet (Lake.BuildJob α)]
:
Lake.FacetConfig Fam ι facet
A smart constructor for facet configurations that generate jobs for the CLI. This is for small jobs that do not the increase the progress counter.
Equations
- Lake.mkFacetJobConfigSmall build = { build := cast ⋯ build, getJob? := some fun (data : Fam facet) => discard (Lake.ofFamily data) }
Instances For
@[inline]
def
Lake.mkFacetJobConfig
{ι : Type}
{α : Type}
{Fam : Lake.Name → Type}
{facet : Lake.Name}
(build : ι → Lake.IndexBuildM (Lake.BuildJob α))
[Lake.FamilyOut Fam facet (Lake.BuildJob α)]
:
Lake.FacetConfig Fam ι facet
A smart constructor for facet configurations that generate jobs for the CLI.
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[inline, reducible]
A module facet's declarative configuration.
Instances For
@[inline, reducible]
A module facet declaration from a configuration file.
Instances For
@[inline, reducible]
A package facet's declarative configuration.
Instances For
@[inline, reducible]
A package facet declaration from a configuration file.
Instances For
@[inline, reducible]
A library facet's declarative configuration.
Instances For
@[inline, reducible]
A library facet declaration from a configuration file.