Commits

Author Commit Message Labels Comments Date
Bryan O'Sullivan
Sort out the API backwards compatibility story
Bookmarks
master
Bryan O'Sullivan
Deduplicate isMaybe
Bryan O'Sullivan
Move encode to be based upon toEncoding
Bryan O'Sullivan
A few more TH tests, with a twist
Bryan O'Sullivan
Simplify some type signatures
Bryan O'Sullivan
More TH tests
Bryan O'Sullivan
Minor renaming
Bryan O'Sullivan
Another TH test, and yes, another bug fix
Bryan O'Sullivan
Another TH test
Bryan O'Sullivan
Another TH test, and a bug fix
Bryan O'Sullivan
Basic TH testing
Bryan O'Sullivan
Add another level of hierarchy to TH tests
Bryan O'Sullivan
Fix up TH support for toEncoding
Bryan O'Sullivan
Move encoding functions out to their own module
Bryan O'Sullivan
Add standard instances to ease debugging
Bryan O'Sullivan
Add some standard instances for Encoding, to ease debugging
Bryan O'Sullivan
Build fix that I somehow failed to spot for several days :-(
roelvandijk
Fixes bug where constructor- and type name are swapped in error message Since all parameters of ```parseTypeMismatch'``` are of type ```String``` it is easy to make a mistake. I choose the order of the error message itself as the right order. Interestingly ```parseTypeMismatch``` also has a different order than the error message, but it is also called with the parameters in this order.
Bryan O'Sullivan
Give the Builder encoding module a more accurate name
Bryan O'Sullivan
Get rid of a future circular module import
Bryan O'Sullivan
Correct the version in the example cabal file
Bookmarks
0.9
Bryan O'Sullivan
Try to get examples building
Bryan O'Sullivan
Really fix haddocks (!!)
Bryan O'Sullivan
Fix haddock
Maxim Kulkin
Add json path to parse error messages Every time you parse some JSON and get error message, it is very painful to track where the error is because existing error messages do not point to the place in JSON where parse error occured. JSON syntax errors are reported from Attoparsec parser and it gives position. But JSON conversion errors have no support for tracking position/context so quality of error messages is poor. This change adds…
Bryan O'Sullivan
First cut at toEncoding implementation in TH This is a straight copy of the toJSON code with the names changed. It's type-correct at the TH level, but the target code is nonsensical due to being a copy of the toJSON code.
Bryan O'Sullivan
Merge
Bryan O'Sullivan
Merge pull request #261 from JPMoresmau/unaryrecords Option to unwrap unary record constructors (Fixes #228)
jpmoresmau
Option to unwrap unary record constructors (Fixes #228)
Bryan O'Sullivan
Rename some TH functions, to make toEncoding support easier
  1. Prev
  2. Next