Added Constant Schema type. Changed generic Schema representation

of enumerables to use Constant.
I have done this. It should be in a merge request near you!

Christian

On 08 Jun 2014, at 10:00 , Adam Bergmark <notifications@github.com> wrote:

> In src/Data/JSON/Schema/Generic.hs:
> 
> >  firstLetterToLower ""     = ""
> > -firstLetterToLower (l:ls) = toLower l : ls
> > +firstLetterToLower (fromJust . uncons -> (l, ls)) = cons (toLower l) ls
> Aah... i forgot that uncons gave a Maybe. But of course!
> 
> Please rewrite this so it doesn't use fromJust.
> 
> —
> Reply to this email directly or view it on GitHub.
>