@[reducible, inline]
Equations
- Lake.ConfigType `lean_lib pkgName name = Lake.LeanLibConfig name
- Lake.ConfigType `lean_exe pkgName name = Lake.LeanExeConfig name
- Lake.ConfigType `extern_lib pkgName name = Lake.ExternLibConfig pkgName name
- Lake.ConfigType Lean.Name.anonymous pkgName name = Lake.OpaqueTargetConfig pkgName name
- Lake.ConfigType `input_file pkgName name = Lake.InputFileConfig name
- Lake.ConfigType `input_dir pkgName name = Lake.InputDirConfig name
- Lake.ConfigType kind pkgName name = Empty
Instances For
Forward declared ConfigTarget to work around recursion issues (e.g., with Package).
@[instance_reducible]
Equations
- Lake.instTypeNameConfigDecl = Lake.inst✝
- config : ConfigType self.kind self.pkg self.name
Instances For
- config : ConfigType self.kind self.pkg self.name
Instances For
- config : ConfigType self.kind self.pkg self.name
Instances For
@[inline]
Equations
Instances For
@[instance_reducible]
Equations
- Lake.instCoeOutKConfigDeclPartialBuildKey = { coe := fun (x : Lake.KConfigDecl k) => x.partialKey }
@[inline]
def Lake.PConfigDecl.config' {p : Lean.Name} (self : PConfigDecl p) :
ConfigType self.kind p self.name
Instances For
@[inline]
Instances For
theorem Lake.NConfigDecl.target_eq_type {p n : Lean.Name} (self : NConfigDecl p n) (h : ¬self.kind.isAnonymous = true) :
theorem Lake.NConfigDecl.data_eq_target {p n : Lean.Name} (self : NConfigDecl p n) (h : ¬self.kind.isAnonymous = true) :
@[inline]
def Lake.ConfigDecl.config? (kind : Lean.Name) (self : ConfigDecl) :
Option (ConfigType kind self.pkg self.name)
Equations
Instances For
@[inline]
def Lake.PConfigDecl.config? {p : Lean.Name} (kind : Lean.Name) (self : PConfigDecl p) :
Option (ConfigType kind p self.name)
Equations
- Lake.PConfigDecl.config? kind self = cast ⋯ (Lake.ConfigDecl.config? kind self.toConfigDecl)
Instances For
@[inline]
def Lake.NConfigDecl.config? {p n : Lean.Name} (kind : Lean.Name) (self : NConfigDecl p n) :
Option (ConfigType kind p n)
Equations
- Lake.NConfigDecl.config? kind self = cast ⋯ (Lake.PConfigDecl.config? kind self.toPConfigDecl)
Instances For
@[inline]
Equations
Instances For
@[inline]
def Lake.NConfigDecl.leanLibConfig? {p n : Lean.Name} (self : NConfigDecl p n) :
Option (LeanLibConfig n)
Equations
Instances For
@[reducible, inline]
A Lean library declaration from a configuration written in Lean.
Instances For
@[inline]
Equations
Instances For
@[inline]
def Lake.NConfigDecl.leanExeConfig? {p n : Lean.Name} (self : NConfigDecl p n) :
Option (LeanExeConfig n)
Equations
Instances For
@[reducible, inline]
A Lean executable declaration from a configuration written in Lean.
Instances For
@[inline]
def Lake.PConfigDecl.externLibConfig? {p : Lean.Name} (self : PConfigDecl p) :
Option (ExternLibConfig p self.name)
Equations
Instances For
@[inline]
def Lake.NConfigDecl.externLibConfig? {p n : Lean.Name} (self : NConfigDecl p n) :
Option (ExternLibConfig p n)
Equations
Instances For
@[reducible, inline]
An external library declaration from a configuration written in Lean.
Instances For
@[inline]
def Lake.PConfigDecl.opaqueTargetConfig {p : Lean.Name} (self : PConfigDecl p) (h : self.kind.isAnonymous = true) :
OpaqueTargetConfig p self.name
Equations
- self.opaqueTargetConfig h = cast ⋯ self.config
Instances For
@[inline]
def Lake.NConfigDecl.opaqueTargetConfig {p n : Lean.Name} (self : NConfigDecl p n) (h : self.kind.isAnonymous = true) :
Equations
- self.opaqueTargetConfig h = cast ⋯ (self.opaqueTargetConfig h)
Instances For
@[inline]
def Lake.PConfigDecl.opaqueTargetConfig? {p : Lean.Name} (self : PConfigDecl p) :
Option (OpaqueTargetConfig p self.name)
Equations
- self.opaqueTargetConfig? = if h : self.kind.isAnonymous = true then some (self.opaqueTargetConfig h) else none
Instances For
@[inline]
def Lake.NConfigDecl.opaqueTargetConfig? {p n : Lean.Name} (self : NConfigDecl p n) :
Option (OpaqueTargetConfig p n)
Equations
- self.opaqueTargetConfig? = cast ⋯ self.opaqueTargetConfig?
Instances For
@[reducible, inline]
An input file declaration from a configuration written in Lean.
Instances For
@[reducible, inline]
An input directory declaration from a configuration written in Lean.
Instances For
@[instance_reducible]
@[instance_reducible]
@[instance_reducible]
@[instance_reducible]