Closed treeowl closed 5 years ago
Yes. Don't making it too clever has a change to work with recursive types, at the cost of not-so fair value production.
@phadej, I'm having trouble parsing that sentence, unfortunately.
If we don't try to make it too clever, the generic implementation might work for recursive types.
Yes, indeed. It should be a bit more clever, though. In particular, it should do something more "sum-of-products"-like. I'd expect it to interleave fairly among the constructors, and diagonally across the fields. The rough draft above is gratuitously unfair.
Offered in #41
And release is cut: https://hackage.haskell.org/package/universe-base-1.1 + others packages
To a first approximation,