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

Support fakers unique combinator #40

Open
alexbiehl opened this issue Aug 31, 2021 · 1 comment
Open

Support fakers unique combinator #40

alexbiehl opened this issue Aug 31, 2021 · 1 comment

Comments

@alexbiehl
Copy link

It would be great if there was a way to modify a Fake action to only return unique values. I imagine something along the lines of unique :: (Hashable a, Eq a) => FakeT m a -> FakeT m a.

@psibi
Copy link
Member

psibi commented Aug 31, 2021

I suppose something like that is possible. I'm not opposed to a PR implementing 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

2 participants