- get (cfg : σ) : α
- set (val : α) (cfg : σ) : σ
- modify (f : α → α) (cfg : σ) : σ
- mkDefault : σ → α
Instances For
@[reducible, inline]
abbrev Lake.mkFieldDefault {σ : Type u_1} {α : Type u_2} (name : Lean.Name) [field : ConfigField σ name α] (cfg : σ) :
α
Equations
- Lake.mkFieldDefault name cfg = (field.toConfigProj name).mkDefault cfg
Instances For
class Lake.ConfigParent (σ : Type u) (ρ : semiOutParam (Type v)) extends Lake.ConfigProj σ ρ :
Type (max u v)
- mkDefault : σ → ρ
Instances
- fields : Array ConfigFieldInfo
- fieldMap : Lean.NameMap ConfigFieldInfo
- arity : Nat
Instances
@[instance_reducible]
instance Lake.instConfigFieldOfConfigParent {σ : Type u_1} {ρ : Type u_2} {name : Lean.Name} {α : Type u_3} [parent : ConfigParent σ ρ] [field : ConfigField ρ name α] :
ConfigField σ name α
Equations
- One or more equations did not get rendered due to their size.