Closed phikal closed 4 years ago
Hey, cool.
Just out of curiosity, what was the problem with the final version in #4 using DerivingVia? It should have resolved the problem as well, with less code? Does #5 provide more advantages beyond the nicer JSON layout?
Did DerivingVia solve the issue? I missed the last comment, but if that's enough, I don't see why this pull request should be preferred.
Yeah, it does. Ok, then maybe lets go with #4 then :)
Still, thanks four the contribution. Maybe you fall in love with Haskell on the way :)
A revised approach to the issue from #4.