Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/Lean/Util/LeanOptions.lean
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ instance : Coe Bool LeanOptionValue where
instance : Coe Nat LeanOptionValue where
coe := LeanOptionValue.ofNat

instance {n : Nat} : OfNat LeanOptionValue n where
ofNat := .ofNat n

instance : FromJson LeanOptionValue where
fromJson?
| (s : String) => Except.ok s
Expand Down
Loading