@[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
Forward declared ConfigTarget
to work around recursion issues (e.g., with Package
).
Instances For
Equations
- config : ConfigType self.kind self.pkg self.name
- config : ConfigType self.kind self.pkg self.name
Instances For
- config : ConfigType self.kind self.pkg self.name
Instances For
@[inline]
Equations
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
@[inline]
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)
@[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)
@[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)
@[inline]
Equations
@[inline]
def
Lake.NConfigDecl.leanLibConfig?
{p n : Lean.Name}
(self : NConfigDecl p n)
:
Option (LeanLibConfig n)
Equations
@[reducible, inline]
A Lean library declaration from a configuration written in Lean.
Instances For
@[inline]
Equations
@[inline]
def
Lake.NConfigDecl.leanExeConfig?
{p n : Lean.Name}
(self : NConfigDecl p n)
:
Option (LeanExeConfig n)
Equations
@[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
@[inline]
def
Lake.NConfigDecl.externLibConfig?
{p n : Lean.Name}
(self : NConfigDecl p n)
:
Option (ExternLibConfig p n)
Equations
@[reducible, inline]
An external library declaration from a configuration written in Lean.
@[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
@[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)
@[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
@[inline]
def
Lake.NConfigDecl.opaqueTargetConfig?
{p n : Lean.Name}
(self : NConfigDecl p n)
:
Option (OpaqueTargetConfig p n)
Equations
- self.opaqueTargetConfig? = cast ⋯ self.opaqueTargetConfig?
@[reducible, inline]
A input file declaration from a configuration written in Lean.
Instances For
@[reducible, inline]
A inpurt directory declaration from a configuration written in Lean.