[Haskell-beginners] How to write the FromJSON instance for CUid

PICCA Frederic-Emmanuel frederic-emmanuel.picca at synchrotron-soleil.fr
Fri Aug 10 11:43:23 UTC 2018


> Didn't even occur to me that there would already be a Word32 instance.  Looking at the source, it absolutely deals with every case automatically.

Great,

now the real question ;)

I use Generic with aeson and I endup like plenty of other with these orphan instances definietion.

what is the right way to deal with this.

fill a bug against all these types and request instances for these typeclass.

or ?


Cheers

Fred


More information about the Beginners mailing list