json: number
This commit is contained in:
parent
69e36774b5
commit
e46e1663b9
1 changed files with 6 additions and 0 deletions
|
@ -209,3 +209,9 @@ string = do
|
|||
_ <- parseExactChar '"'
|
||||
pure $ VString contents
|
||||
```
|
||||
|
||||
```idris
|
||||
number = do
|
||||
d <- double
|
||||
pure $ VNumber d
|
||||
```
|
||||
|
|
Loading…
Add table
Reference in a new issue