chrisdone-archive / ini

Quick and easy INI configuration files for Haskell
Other
23 stars 17 forks source link

Detect invalid input #30

Closed neilmayhew closed 3 years ago

neilmayhew commented 3 years ago

Fail parsing if the input isn't completely consumed

Without this, parsing stops at the start of any invalid input and returns a successful result

Closes #29


This change is Reviewable

chrisdone commented 3 years ago

Nice! :ok_hand: Thanks.

chrisdone commented 3 years ago

I can't upload to hackage, so that'll have to wait until I have energy to waste.

neilmayhew commented 3 years ago

No worries. Thanks for merging.