json: number

This commit is contained in:
Nathan McCarty 2025-01-25 05:04:54 -05:00
parent 3ad023ef6a
commit 370bb18c06

View file

@ -209,3 +209,9 @@ string = do
_ <- parseExactChar '"'
pure $ VString contents
```
```idris
number = do
d <- double
pure $ VNumber d
```