The kind identifier for facets of a package.
Equations
The would-be keyword for module declarations.
Such declarations do not currently exist, but this is used as the facet kind for modules.
Equations
- Lake.Module.keyword = `module
The kind identifier for facets of a (Lean) module.
Equations
The kind identifier for facets of a Lean library.
Equations
- Lake.LeanLib.facetKind = `lean_lib
The type kind for Lean library configurations.
The kind identifier for facets of a Lean executable.
Equations
The type kind for Lean executable configurations.
The keyword for external library declarations.
Equations
- Lake.ExternLib.keyword = `extern_lib
The kind identifier for facets of an external library.
The type kind for external library configurations.
The kind identifier for facets of an input file.
The type kind for input file configurations.
The keyword for input directory declarations.
Equations
- Lake.InputDir.keyword = `input_dir
Tge kind identifier for facets of an input directory.
The type kind for input directory configurations.
Lake Internal.
Returns the facet kind for an Lake target namespace.
Used by the builtin_facet
macro.
Equations
- Lake.facetKindForNamespace `Lake.Package = Lake.Package.facetKind
- Lake.facetKindForNamespace `Lake.Module = Lake.Module.facetKind
- Lake.facetKindForNamespace `Lake.LeanLib = Lake.LeanLib.facetKind
- Lake.facetKindForNamespace `Lake.LeanExe = Lake.LeanExe.facetKind
- Lake.facetKindForNamespace `Lake.ExternLib = Lake.ExternLib.facetKind
- Lake.facetKindForNamespace `Lake.InputFile = Lake.InputFile.facetKind
- Lake.facetKindForNamespace `Lake.InputDir = Lake.InputDir.facetKind
- Lake.facetKindForNamespace ns = Lean.Name.anonymous