Skip to content

Conversation

@AnisimoffNikita
Copy link
Contributor

Added schema generator using SmallCheck series.
Fixed Serial instances for JsonRepr.
Fixed string length predicates.

@@ -0,0 +1,118 @@
{-# OPTIONS_GHC -fno-warn-orphans #-}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason to have these instances separately? It's possible to extract the definitions from Data.Schematic.Schema to something like Data.Schematic.Schema.Types or use mutual recursive modules so we won't have these orphan instances https://downloads.haskell.org/~ghc/7.0.3/docs/html/users_guide/separate-compilation.html

@AnisimoffNikita AnisimoffNikita changed the title [WIP] Schema generator Schema generator Feb 18, 2019
@dredozubov dredozubov merged commit d117450 into typeable:master Feb 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants