Build Data Subtypes #
The open type family which maps a Lake data kind to its associated type.
For example, LeanLib.facetKind
maps to LeanLib
.
It is an open type, meaning additional mappings can be add lazily
as needed (via data_type
).
Equations
- Lake.OptDataKind.anonymous = { name := Lean.Name.anonymous, wf := ⋯ }
Equations
- Lake.instInhabitedOptDataKind = { default := Lake.OptDataKind.anonymous }
Equations
- Lake.instOptDataKindOfDataKind = { name := Lake.DataKind.name α, wf := ⋯ }
Equations
- Lake.instCoeOutOptDataKindName = { coe := fun (x : Lake.OptDataKind α) => Lake.OptDataKind.name α }
Equations
- Lake.instToStringOptDataKind = { toString := fun (x : Lake.OptDataKind α) => (Lake.OptDataKind.name α).toString }
Equations
Instances For
The open type family which maps a Lake facet to its output type.
For example, a FilePath
for the module.olean
facet.
It is an open type, meaning additional mappings can be add lazily
as needed (via facet_data
).
The open type family which maps a Lake facet kind and name to its output type.
For example, a FilePath
for the module
olean
facet.
It is an open type, meaning additional mappings can be add lazily
as needed (via facet_data
).
Equations
- Lake.FacetData kind facet = Lake.FacetOut (kind ++ facet)
Instances For
The open type family which maps a module facet's name to its output type.
For example, a FilePath
for the module olean
facet.
It is an open type, meaning additional mappings can be add lazily
as needed (via module_data
).
Instances For
The open type family which maps a package facet's name to output type.
For example, an Arrry Package
of direct dependencies for the deps
facet.
It is an open type, meaning additional mappings can be add lazily
as needed (via package_data
).
Instances For
The open type family which maps a Lean library facet's name to its output type.
For example, the FilePath
pf the generated static library for the static
facet.
It is an open type, meaning additional mappings can be add lazily
as needed (via library_data
).
Instances For
The open type family which maps a Lean library facet's name to its output type.
For example, the FilePath
pf the generated static library for the static
facet.
It is an open type, meaning additional mappings can be add lazily
as needed (via library_data
).
Equations
Instances For
The open type family which maps a custom package targetto its output type.
It is an open type, meaning additional mappings can be add lazily
as needed (via custom_data
).
Equations
- Lake.CustomData package target = Lake.CustomOut (package, target)
Instances For
Build Data #
A mapping between a build key and its associated build data in the store. It is a simple type function composed of the separate open type families for modules facets, package facets, Lake target facets, and custom targets.
Equations
Instances For
Macros for Declaring Build Data #
Macro for declaring new DatayType
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Lake.instDataKindUnit = { name := `unit, wf := Lake.instDataKindUnit.proof_1 }
Equations
- Lake.instDataKindBool = { name := `bool, wf := Lake.instDataKindBool.proof_1 }
Equations
- Lake.instDataKindFilePath = { name := `filepath, wf := Lake.instDataKindFilePath.proof_1 }
Equations
- Lake.instDataKindDynlib = { name := `dynlib, wf := Lake.instDataKindDynlib.proof_1 }
Internal macro for declaring new facet within Lake.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Macro for declaring new FacetData
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Macro for declaring new PackageData
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Macro for declaring new ModuleData
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Macro for declaring new LibraryData
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Macro for declaring new TargetData
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Macro for declaring new CustomData
.
Equations
- One or more equations did not get rendered due to their size.