fakedata icon indicating copy to clipboard operation
fakedata copied to clipboard

Support fakers `unique` combinator

Open alexbiehl opened this issue 4 years ago • 1 comments

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.

alexbiehl avatar Aug 31 '21 10:08 alexbiehl

I suppose something like that is possible. I'm not opposed to a PR implementing it. :-)

psibi avatar Aug 31 '21 13:08 psibi