JSON-like syntax for Lean. #
Now you can write
open scoped ProofWidgets.Json
#eval json% {
hello : "world",
cheese : ["edam", "cheddar", {kind : "spicy", rank : 100.2}],
lemonCount : 100e30,
isCool : true,
isBug : null,
lookACalc: $(23 + 54 * 2)
}
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
Instances For
Equations
- One or more equations did not get rendered due to their size.
Equations
- ProofWidgets.Json.instNegJsonNumber = { neg := fun jn => { mantissa := -jn.mantissa, exponent := jn.exponent } }
Equations
- One or more equations did not get rendered due to their size.
Equations
- ProofWidgets.Json.jsoNull = Lean.ParserDescr.node `ProofWidgets.Json.jsoNull 1024 (Lean.ParserDescr.nonReservedSymbol "null" false)
Instances For
Equations
- ProofWidgets.Json.jsoTrue = Lean.ParserDescr.node `ProofWidgets.Json.jsoTrue 1024 (Lean.ParserDescr.nonReservedSymbol "true" false)
Instances For
Equations
- ProofWidgets.Json.jsoFalse = Lean.ParserDescr.node `ProofWidgets.Json.jsoFalse 1024 (Lean.ParserDescr.nonReservedSymbol "false" false)
Instances For
Equations
- ProofWidgets.Json.jso_ = Lean.ParserDescr.node `ProofWidgets.Json.jso_ 1022 (Lean.ParserDescr.const `str)
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
- 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
- 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
- One or more equations did not get rendered due to their size.