-
Notifications
You must be signed in to change notification settings - Fork 322
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Default methods for toJSON and parseJSON using the new DefaultSignatu…
…res extension The methods default to the generic implementations. I had to move the generic implementations into the Types module and define and export genericToJSON and genericFromJSON. Other arrangements exists but this was the quickest to implement. Note that the default methods are only enabled when the extension is available. Currently this is the case for ghc >= 7.2.1.
- Loading branch information
1 parent
a05e544
commit abf41d1
Showing
3 changed files
with
325 additions
and
311 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.