cies / htoml

TOML file format parser in Haskell
https://hackage.haskell.org/package/htoml
Other
38 stars 13 forks source link

Floats with only exponent won't parse #2

Closed HuwCampbell closed 8 years ago

HuwCampbell commented 9 years ago

Just looking at the code, your floats require a decimal point ( . character), while TOML accepts 3e9 as a valid float.

cies commented 8 years ago

Fixed it. If you read this: I'll open a new issue to discus your changes (I've merged then in already): I hope you can chime in before I push a version to Hackage that contains your input.