Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cats instances for Scalacheck Gen? #98

Open
zainab-ali opened this issue Nov 7, 2024 · 1 comment
Open

Cats instances for Scalacheck Gen? #98

zainab-ali opened this issue Nov 7, 2024 · 1 comment

Comments

@zainab-ali
Copy link
Contributor

This issue was copied over from: disneystreaming/weaver-test#589
It was opened by: armanbilge


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.

@zainab-ali
Copy link
Contributor Author

This comment was copied over from: disneystreaming/weaver-test#589 (comment)
It was written by: Baccata


So you're suggesting inlining the instances in weaver ? I'm not fundamentally opposed to it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant