Target output formats supported by the Lake CLI (e.g., lake query
).
Instances For
@[instance 0]
Equations
- Lake.instToTextOfToString = { toText := toString }
Equations
- Lake.instToTextJson = { toText := Lean.Json.compress }
Class used to format target output as text for lake query
.
- queryText : α → String
Format target output as text (e.g., for
lake query
).
Instances
@[instance 0]
Equations
- Lake.instQueryText = { queryText := fun (x : α) => "" }
@[instance 100]
Equations
- Lake.instQueryTextOfToText = { queryText := Lake.toText }
Equations
- Lake.instQueryTextUnit = { queryText := fun (x : Unit) => "" }
Class used to format target output as JSON for lake query -J
.
- queryJson : α → Lean.Json
Format target output as JSON (e.g., for
lake query -J
).
Instances
@[instance 0]
Equations
- Lake.instQueryJson = { queryJson := fun (x : α) => Lean.Json.null }
@[instance 100]
Equations
- Lake.instQueryJsonOfToJson = { queryJson := Lean.toJson }
Equations
- Lake.instQueryJsonUnit = { queryJson := fun (x : Unit) => Lean.Json.null }
Class used to format target output for lake query
.
Instances
Equations
- Lake.instFormatQueryOfQueryTextOfQueryJson = { toQueryText := inst✝¹, toQueryJson := inst✝ }
Format function that produces "null" output.
Equations
Instances For
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.
Instances For
Equations
- Lake.instQueryTextModuleHeader = { queryText := Lake.ppModuleHeader }