kwik icon indicating copy to clipboard operation
kwik copied to clipboard

Distinct operator

Open jcornaz opened this issue 5 years ago • 1 comments

Here is how the API could look like:

/**
 * Returns a generator that emits items of the upstream generator only once (based on result of `hashCode` and `equals` method)
 *
 * Be sure to not overuse it has it may slow down your tests
 */
fun <T> Generator<T>.distinct(): Generator<T> = TODO()

jcornaz avatar Jul 16 '19 08:07 jcornaz

I'm going to try to tackle this issue :)

ProdigSun avatar Jul 31 '21 16:07 ProdigSun