Equations
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Lake.instReprBuildKey = { reprPrec := Lake.instReprBuildKey.repr }
Equations
- One or more equations did not get rendered due to their size.
- Lake.instDecidableEqBuildKey.decEq (Lake.BuildKey.module a) (Lake.BuildKey.module b) = if h : a = b then h ▸ isTrue ⋯ else isFalse ⋯
- Lake.instDecidableEqBuildKey.decEq (Lake.BuildKey.module module) (Lake.BuildKey.package package) = isFalse ⋯
- Lake.instDecidableEqBuildKey.decEq (Lake.BuildKey.module module) (Lake.BuildKey.packageTarget package target) = isFalse ⋯
- Lake.instDecidableEqBuildKey.decEq (Lake.BuildKey.module module) (target.facet facet) = isFalse ⋯
- Lake.instDecidableEqBuildKey.decEq (Lake.BuildKey.package package) (Lake.BuildKey.module module) = isFalse ⋯
- Lake.instDecidableEqBuildKey.decEq (Lake.BuildKey.package a) (Lake.BuildKey.package b) = if h : a = b then h ▸ isTrue ⋯ else isFalse ⋯
- Lake.instDecidableEqBuildKey.decEq (Lake.BuildKey.package package) (Lake.BuildKey.packageTarget package_1 target) = isFalse ⋯
- Lake.instDecidableEqBuildKey.decEq (Lake.BuildKey.package package) (target.facet facet) = isFalse ⋯
- Lake.instDecidableEqBuildKey.decEq (Lake.BuildKey.packageTarget package target) (Lake.BuildKey.module module) = isFalse ⋯
- Lake.instDecidableEqBuildKey.decEq (Lake.BuildKey.packageTarget package target) (Lake.BuildKey.package package_1) = isFalse ⋯
- Lake.instDecidableEqBuildKey.decEq (Lake.BuildKey.packageTarget a a_1) (Lake.BuildKey.packageTarget b b_1) = if h : a = b then h ▸ if h : a_1 = b_1 then h ▸ isTrue ⋯ else isFalse ⋯ else isFalse ⋯
- Lake.instDecidableEqBuildKey.decEq (Lake.BuildKey.packageTarget package target) (target_1.facet facet) = isFalse ⋯
- Lake.instDecidableEqBuildKey.decEq (target.facet facet) (Lake.BuildKey.module module) = isFalse ⋯
- Lake.instDecidableEqBuildKey.decEq (target.facet facet) (Lake.BuildKey.package package) = isFalse ⋯
- Lake.instDecidableEqBuildKey.decEq (target.facet facet) (Lake.BuildKey.packageTarget package target_1) = isFalse ⋯
Instances For
Equations
- Lake.instHashableBuildKey.hash (Lake.BuildKey.module a) = mixHash 0 (hash a)
- Lake.instHashableBuildKey.hash (Lake.BuildKey.package a) = mixHash 1 (hash a)
- Lake.instHashableBuildKey.hash (Lake.BuildKey.packageTarget a a_1) = mixHash (mixHash 2 (hash a)) (hash a_1)
- Lake.instHashableBuildKey.hash (a.facet a_1) = mixHash (mixHash 3 (Lake.instHashableBuildKey.hash a)) (hash a_1)
Instances For
Equations
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
Equations
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.
- Lake.PartialBuildKey.toString (Lake.BuildKey.module m) = toString "+" ++ toString m
- Lake.PartialBuildKey.toString (Lake.BuildKey.package p) = if p.isAnonymous = true then "" else toString "@" ++ toString p
- Lake.PartialBuildKey.toString (t.facet f) = if f.isAnonymous = true then Lake.PartialBuildKey.toString t else toString (Lake.PartialBuildKey.toString t) ++ toString ":" ++ toString f
Instances For
Equations
@[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
- (Lake.BuildKey.package a).toString = toString "@" ++ toString a
- (Lake.BuildKey.packageTarget a a_1).toString = toString a ++ toString "/" ++ toString a_1
- (a.facet a_1).toString = toString a.toString ++ toString ":" ++ toString (Lake.Name.eraseHead a_1)
Instances For
Like the default toString
, but without disambiguation markers.
Equations
- (Lake.BuildKey.module a).toSimpleString = toString a
- (Lake.BuildKey.package a).toSimpleString = toString a
- (Lake.BuildKey.packageTarget a a_1).toSimpleString = toString a ++ toString "/" ++ toString a_1
- (a.facet a_1).toSimpleString = toString a.toSimpleString ++ toString ":" ++ toString (Lake.Name.eraseHead a_1)
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