Open phadej opened 8 years ago
No objection, except we also probably need To/FromSchemaKey.
that's true, but I'll rather have it in different PR
I would probably like (someone) to start with that other PR then :)
I'll assign this to myself, so I remember to write this PR at some point.
@phadej I think there's going to be some new language extension that will eliminate the need in ToSchemaN
classes... but I can't remember where I saw it 🤔
on twitter. But it will be only in GHC-8.6 the earliest, so don't hold your breath.
@phadej can you tell me what the extension is called? :)
Also, I guess you and me won't have time for this issue until GHC 8.6 anyway...
Example implementation https://github.com/futurice/haskell-futurice-prelude/pull/49/commits/3c30b31b5a165d33d0a94b4afa11a3e61a195df9
I can make a PR if there are no objections.