A facet's declarative configuration.
- build : ι → FetchM (DataFam name)
The facet's build (function).
Does this facet produce an associated asynchronous job?
Instances For
instance
Lake.instInhabitedFacetConfig
{a✝ : Lean.Name → Type}
{a✝¹ : Type}
{a✝² : Lean.Name}
:
Inhabited (FacetConfig a✝ a✝¹ a✝²)
Equations
- Lake.instInhabitedFacetConfig = { default := { build := default, getJob? := default } }
@[reducible, inline]
abbrev
Lake.FacetConfig.name
{DataFam : Lean.Name → Type}
{ι : Type}
{name : Lean.Name}
:
FacetConfig DataFam ι name → Lean.Name
Equations
- x✝.name = name
Instances For
@[inline]
def
Lake.mkFacetConfig
{ι α : Type}
{Fam : Lean.Name → Type}
{facet : Lean.Name}
(build : ι → FetchM α)
[h : FamilyOut Fam facet α]
:
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.mkFacetJobConfig
{ι α : Type}
{Fam : Lean.Name → Type}
{facet : Lean.Name}
(build : ι → FetchM (Job α))
[h : FamilyOut Fam facet (Job α)]
:
FacetConfig Fam ι facet
A smart constructor for facet configurations that generate jobs for the CLI.
Equations
- Lake.mkFacetJobConfig build = { build := cast ⋯ build, getJob? := some fun (data : Fam facet) => (Lake.ofFamily data).toOpaque }
Instances For
@[reducible, inline]
A module facet's declarative configuration.
Instances For
@[reducible, inline]
A module facet declaration from a configuration file.
Instances For
@[reducible, inline]
A package facet's declarative configuration.
Instances For
@[reducible, inline]
A package facet declaration from a configuration file.
Instances For
@[reducible, inline]
A library facet's declarative configuration.
Instances For
@[reducible, inline]
A library facet declaration from a configuration file.