Build Data Subtypes #
The open type family which maps a module facet's name to its build data
in the Lake build store. For example, a transitive × direct import pair
for the lean.imports
facet or an active build target for lean.c
.
It is an open type, meaning additional mappings can be add lazily
as needed (via module_data
).
The open type family which maps a package facet's name to its build data
in the Lake build store. For example, a transitive dependencies of the package
for the facet deps
.
It is an open type, meaning additional mappings can be add lazily
as needed (via package_data
).
The open type family which maps a (builtin) Lake target's (e.g., extern_lib
)
facet to its associated build data. For example, an active build target for
the externLib.static
facet.
It is an open type, meaning additional mappings can be add lazily
as needed (via target_data
).
Equations
- Lake.LibraryData facet = Lake.TargetData (`leanLib ++ facet)
Instances For
Equations
- (_ : Lake.FamilyDef Lake.TargetData (`leanLib ++ facet) α) = (_ : Lake.FamilyDef Lake.TargetData (`leanLib ++ facet) α)
Equations
- (_ : Lake.FamilyDef Lake.LibraryData facet α) = (_ : Lake.FamilyDef Lake.LibraryData facet α)
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
- One or more equations did not get rendered due to their size.
Instances For
Equations
- (_ : Lake.FamilyDef Lake.BuildData (Lake.BuildKey.moduleFacet m f) (Lake.ModuleData f)) = (_ : Lake.FamilyDef Lake.BuildData (Lake.BuildKey.moduleFacet m f) (Lake.ModuleData f))
Equations
- (_ : Lake.FamilyDef Lake.BuildData (Lake.BuildKey.packageFacet p f) (Lake.PackageData f)) = (_ : Lake.FamilyDef Lake.BuildData (Lake.BuildKey.packageFacet p f) (Lake.PackageData f))
Equations
- (_ : Lake.FamilyDef Lake.BuildData (Lake.BuildKey.targetFacet p t f) (Lake.TargetData f)) = (_ : Lake.FamilyDef Lake.BuildData (Lake.BuildKey.targetFacet p t f) (Lake.TargetData f))
Equations
- (_ : Lake.FamilyDef Lake.BuildData (Lake.BuildKey.customTarget p t) (Lake.CustomData (p, t))) = (_ : Lake.FamilyDef Lake.BuildData (Lake.BuildKey.customTarget p t) (Lake.CustomData (p, t)))
Macros for Declaring Build Data #
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 TargetData
for libraries.
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.