Restriction of DataValue
that covers exactly those cases that Lean is able to handle when passed via the -D
flag.
- ofString: String → Lean.LeanOptionValue
- ofBool: Bool → Lean.LeanOptionValue
- ofNat: Nat → Lean.LeanOptionValue
Instances For
Equations
- Lean.instInhabitedLeanOptionValue = { default := Lean.LeanOptionValue.ofString default }
Equations
- Lean.LeanOptionValue.ofDataValue? (Lean.DataValue.ofString s) = some (Lean.LeanOptionValue.ofString s)
- Lean.LeanOptionValue.ofDataValue? (Lean.DataValue.ofBool b) = some (Lean.LeanOptionValue.ofBool b)
- Lean.LeanOptionValue.ofDataValue? (Lean.DataValue.ofNat n) = some (Lean.LeanOptionValue.ofNat n)
- Lean.LeanOptionValue.ofDataValue? x = none
Instances For
Equations
- (Lean.LeanOptionValue.ofString a).toDataValue = Lean.DataValue.ofString a
- (Lean.LeanOptionValue.ofBool a).toDataValue = Lean.DataValue.ofBool a
- (Lean.LeanOptionValue.ofNat a).toDataValue = Lean.DataValue.ofNat a
Instances For
Equations
Equations
- One or more equations did not get rendered due to their size.
Formats the lean option value as a CLI flag argument.
Instances For
Options that are used by Lean as if they were passed using -D
.
Instances For
Equations
- Lean.instReprLeanOptions = { reprPrec := Lean.reprLeanOptions✝ }
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.
Equations
- One or more equations did not get rendered due to their size.