weaver-test
weaver-test copied to clipboard
Cats instances for Scalacheck `Gen`?
Specifically, to help with this: https://github.com/disneystreaming/weaver-test/blob/850a8a6aeb4875d916663092e362eb0bfc24bc99/docs/scalacheck.md?plain=1#L46-L53
Which is a reasonable setup IMO. Personally I'm just missing some of the handy combinators for composition. E.g. it would be nice to express that example using .product or .tupled instead of needing the multi-line for ... yield.
There's options like cats-scalacheck but it would be very convenient to be able to do this out-of-the-box.
So you're suggesting inlining the instances in weaver ? I'm not fundamentally opposed to it