Breaking changes
- Changed <|> to better handle failure
- All combinators now fail if they don't match. E.g.
arrayOf integer
will fail on[true,false]
. To ignore value, usearrayOf (integer <|> mempty)
.
Slightly more strictness in arrayOf.
Fixed memory leak in arrayOf.
Added aeson-compatibile encode/decode functions.
Breaking changes (this could really break your code):
- Changed
<|>
to<>
(Monoid
is better for 'appending' thanAlternative
) - Changed
>^>
to<|>
- (Alternative
now really means alternative) - Changed
toList
tomany
(Use existingAlternative
function instead of a custom one) - Added
some
function (Alternative, default implementation won't work) - C-lexer now supports parsing numbers up to 18 digits (E-notation is not optimized yet)
- Completely rewritten text unescapes based on text decodeUtf8; fixes some surprising crashes, speed improvements.
- Changed string parsing; parsing of escaped strings is now very fast
- Removed bytestring parser
- Fixed bug in safestring
- Fixed test so it doesn't depend on versions of other packages
- Added sax-like parsers
- Fixed wrong size of C structure in FFI that was causing a segfault.