JSON-like syntax for Lean. #
Now you can write
open Lean.Json
#eval json% {
hello : "world",
cheese : ["edam", "cheddar", {kind : "spicy", rank : 100.2}],
lemonCount : 100e30,
isCool : true,
isBug : null,
lookACalc: $(23 + 54 * 2)
}
Json number negation syntax for ordinary numbers.
Equations
Instances For
Json number negation syntax for scientific numbers.
Equations
Instances For
Allows to use Json syntax in a Lean file.