@[inline]
For internal use only.
Equations
- Lake.PartialBuildKey.fetchInCore defaultPkg self = Lake.PartialBuildKey.fetchInCoreAux✝ defaultPkg self self true
Instances For
@[inline]
Fetches the target specified by this key, resolving gaps as needed.
- A missing package (i.e.,
Name.anoanmoyus
) is filled in withdefaultPkg
. - Facets are qualified by the their input target's kind, and missing facets
are replaced by their kind's
default
. - Package targets ending in
moduleTargetIndicator
are converted to module package targets. - Package targets for non-dynamic targets (i.e., non-
target
) produce their default facet rather than their configuration.
Equations
- Lake.PartialBuildKey.fetchIn defaultPkg self = (fun (x : (key : Lake.BuildKey) × Lake.Job (Lake.BuildData key)) => x.snd.toOpaque) <$> Lake.PartialBuildKey.fetchInCore defaultPkg self
Instances For
def
Lake.TargetArray.fetchIn
{α : Type}
[DataKind α]
(defaultPkg : Package)
(self : TargetArray α)
:
Equations
- Lake.TargetArray.fetchIn defaultPkg self = Lake.Job.collectArray <$> Array.mapM (fun (x : Lake.Target α) => Lake.Target.fetchIn defaultPkg x) self