The type of keys in the Lake build store.
- moduleFacet: Lake.Name → Lake.Name → Lake.BuildKey
- packageFacet: Lake.Name → Lake.Name → Lake.BuildKey
- targetFacet: Lake.Name → Lake.Name → Lake.Name → Lake.BuildKey
- customTarget: Lake.Name → Lake.Name → Lake.BuildKey
Instances For
Equations
- Lake.instInhabitedBuildKey = { default := Lake.BuildKey.moduleFacet default default }
Equations
- Lake.instReprBuildKey = { reprPrec := Lake.reprBuildKey✝ }
Equations
- Lake.instHashableBuildKey = { hash := Lake.hashBuildKey✝ }
Equations
- (Lake.BuildKey.moduleFacet a a_1).toString = toString "+" ++ toString a ++ toString ":" ++ toString a_1 ++ toString ""
- (Lake.BuildKey.packageFacet a a_1).toString = toString "@" ++ toString a ++ toString ":" ++ toString a_1 ++ toString ""
- (Lake.BuildKey.targetFacet a a_1 a_2).toString = toString "" ++ toString a ++ toString "/" ++ toString a_1 ++ toString ":" ++ toString a_2 ++ toString ""
- (Lake.BuildKey.customTarget a a_1).toString = toString "" ++ toString a ++ toString "/" ++ toString a_1 ++ toString ""
Instances For
Like the default toString
, but without disambiguation markers.
Equations
- One or more equations did not get rendered due to their size.
- (Lake.BuildKey.moduleFacet a a_1).toSimpleString = toString "" ++ toString a ++ toString ":" ++ toString a_1 ++ toString ""
- (Lake.BuildKey.packageFacet a a_1).toSimpleString = toString "" ++ toString a ++ toString ":" ++ toString a_1 ++ toString ""
- (Lake.BuildKey.customTarget a a_1).toSimpleString = toString "" ++ toString a ++ toString "/" ++ toString a_1 ++ toString ""
Instances For
Equations
- Lake.BuildKey.toSimpleString.eraseHead Lean.Name.anonymous = Lean.Name.anonymous
- Lake.BuildKey.toSimpleString.eraseHead (Lean.Name.anonymous.str str) = Lean.Name.anonymous
- Lake.BuildKey.toSimpleString.eraseHead (Lean.Name.anonymous.num i) = Lean.Name.anonymous
- Lake.BuildKey.toSimpleString.eraseHead (p.str s) = (Lake.BuildKey.toSimpleString.eraseHead p).str s
- Lake.BuildKey.toSimpleString.eraseHead (p.num s) = (Lake.BuildKey.toSimpleString.eraseHead p).num s
Instances For
Equations
- Lake.BuildKey.instToString = { toString := fun (x : Lake.BuildKey) => x.toString }
Equations
- One or more equations did not get rendered due to their size.
- (Lake.BuildKey.moduleFacet a a_1).quickCmp (Lake.BuildKey.moduleFacet m' f') = match a.quickCmp m' with | Ordering.eq => a_1.quickCmp f' | ord => ord
- (Lake.BuildKey.moduleFacet a a_1).quickCmp k' = Ordering.lt
- (Lake.BuildKey.packageFacet a a_1).quickCmp (Lake.BuildKey.moduleFacet module facet) = Ordering.gt
- (Lake.BuildKey.packageFacet a a_1).quickCmp (Lake.BuildKey.packageFacet p' f') = match a.quickCmp p' with | Ordering.eq => a_1.quickCmp f' | ord => ord
- (Lake.BuildKey.packageFacet a a_1).quickCmp k' = Ordering.lt
- (Lake.BuildKey.targetFacet a a_1 a_2).quickCmp (Lake.BuildKey.customTarget package target) = Ordering.lt
- (Lake.BuildKey.targetFacet a a_1 a_2).quickCmp k' = Ordering.gt
- (Lake.BuildKey.customTarget a a_1).quickCmp (Lake.BuildKey.customTarget p' t') = match a.quickCmp p' with | Ordering.eq => a_1.quickCmp t' | ord => ord
- (Lake.BuildKey.customTarget a a_1).quickCmp k' = Ordering.gt
Instances For
theorem
Lake.BuildKey.eq_of_quickCmp
{k : Lake.BuildKey}
{k' : Lake.BuildKey}
:
k.quickCmp k' = Ordering.eq → k = k'