Equations
- Lake.instInhabitedBuildKey = { default := Lake.BuildKey.module default }
Equations
- Lake.instReprBuildKey = { reprPrec := Lake.reprBuildKey✝ }
Equations
- Lake.instHashableBuildKey = { hash := Lake.hashBuildKey✝ }
Equations
Instances For
A build key with some missing info.
- Package names may be elided (replaced by
Name.anonymous
). - Facet names are unqualified (they do not include the input target kind) and may also be ellided.
- Module package targets are supported via a fake
packageTarget
with a target name ending inmoduleTargetIndicator
.
Equations
Instances For
@[inline]
Cast a BuildKey
to a PartialBuildKey
.
Equations
- Lake.PartialBuildKey.mk key = key
Instances For
Parses a PartialBuildKey
from a String
.
Uses the same syntax as the lake build
/ lake query
CLI.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
- Lake.PartialBuildKey.toString (Lake.BuildKey.module m) = toString "+" ++ toString m ++ toString ""
- Lake.PartialBuildKey.toString (Lake.BuildKey.package p) = if p.isAnonymous = true then "" else toString "@" ++ toString p ++ toString ""
Instances For
Equations
- Lake.instToStringPartialBuildKey = { toString := Lake.PartialBuildKey.toString }
@[reducible, match_pattern, inline]
Equations
- Lake.BuildKey.moduleFacet module facet = (Lake.BuildKey.module module).facet facet
Instances For
@[reducible, match_pattern, inline]
Equations
- Lake.BuildKey.packageFacet package facet = (Lake.BuildKey.package package).facet facet
Instances For
@[reducible, match_pattern, inline]
Equations
- Lake.BuildKey.targetFacet package target facet = (Lake.BuildKey.packageTarget package target).facet facet
Instances For
@[reducible, match_pattern, inline]
Equations
- Lake.BuildKey.customTarget package target = Lake.BuildKey.packageTarget package target
Instances For
Equations
- (Lake.BuildKey.module a).toString = toString "+" ++ toString a ++ toString ""
- (Lake.BuildKey.package a).toString = toString "@" ++ toString a ++ toString ""
- (Lake.BuildKey.packageTarget a a_1).toString = toString "" ++ toString a ++ toString "/" ++ toString a_1 ++ toString ""
- (a.facet a_1).toString = toString "" ++ toString a.toString ++ toString ":" ++ toString (Lake.Name.eraseHead a_1) ++ toString ""
Instances For
Like the default toString
, but without disambiguation markers.
Equations
- (Lake.BuildKey.module a).toSimpleString = toString "" ++ toString a ++ toString ""
- (Lake.BuildKey.package a).toSimpleString = toString "" ++ toString a ++ toString ""
- (Lake.BuildKey.packageTarget a a_1).toSimpleString = toString "" ++ toString a ++ toString "/" ++ toString a_1 ++ toString ""
- (a.facet a_1).toSimpleString = toString "" ++ toString a.toSimpleString ++ toString ":" ++ toString (Lake.Name.eraseHead a_1) ++ toString ""
Instances For
Equations
- Lake.BuildKey.instToString = { toString := fun (x : Lake.BuildKey) => x.toString }
Equations
- (Lake.BuildKey.module a).quickCmp (Lake.BuildKey.module m') = a.quickCmp m'
- (Lake.BuildKey.module a).quickCmp k' = Ordering.lt
- (Lake.BuildKey.package a).quickCmp (Lake.BuildKey.module module) = Ordering.gt
- (Lake.BuildKey.package a).quickCmp (Lake.BuildKey.package p') = a.quickCmp p'
- (Lake.BuildKey.package a).quickCmp k' = Ordering.lt
- (Lake.BuildKey.packageTarget a a_1).quickCmp (target.facet facet) = Ordering.lt
- (Lake.BuildKey.packageTarget a a_1).quickCmp (Lake.BuildKey.packageTarget p' t') = match a.quickCmp p' with | Ordering.eq => a_1.quickCmp t' | ord => ord
- (Lake.BuildKey.packageTarget a a_1).quickCmp k' = Ordering.gt
- (a.facet a_1).quickCmp (t'.facet f') = match a.quickCmp t' with | Ordering.eq => a_1.quickCmp f' | ord => ord
- (a.facet a_1).quickCmp k' = Ordering.gt