Equations
- instToStringDecidable = {
toString := fun (h : Decidable p) =>
match h with
| isTrue h => "true"
| isFalse h => "false" }
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- instToStringList = { toString := List.toString }
Equations
- instToStringULift = { toString := fun (v : ULift α) => toString v.down }
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.
Equations
- s.isInt = if s.get 0 = '-' then (s.toSubstring.drop 1).isNat else s.isNat
Instances For
Equations
- s.toInt! = match s.toInt? with
| some v => v
| none => panic "Int expected"
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.