Equations
- Lean.Json.escape s = String.foldl Lean.Json.escapeAux "" s
Instances For
Equations
- Lean.Json.renderString s = "\"" ++ Lean.Json.escape s ++ "\""
Instances For
Equations
- Lean.Json.pretty j lineWidth = Lean.Format.pretty (Lean.Json.render j) lineWidth
Instances For
- json: Lean.Json → Lean.Json.CompressWorkItem
- arrayElem: Lean.Json → Lean.Json.CompressWorkItem
- arrayEnd: Lean.Json.CompressWorkItem
- objectField: String → Lean.Json → Lean.Json.CompressWorkItem
- objectEnd: Lean.Json.CompressWorkItem
- comma: Lean.Json.CompressWorkItem
Instances For
Equations
- Lean.Json.compress j = Lean.Json.compress.go "" [Lean.Json.CompressWorkItem.json j]
Instances For
Equations
- Lean.Json.instToFormatJson = { format := Lean.Json.render }
Equations
- Lean.Json.instToStringJson = { toString := fun j => Lean.Json.pretty j }