Closed ParadaCarleton closed 1 year ago
Would it make sense to add a version of distinct that allows users to pass a definition of equality as the first argument? I'm interested in using distinct on an iterator over floats, where I'm less interested in exact equality.
distinct
Would it make sense to add a version of
distinct
that allows users to pass a definition of equality as the first argument? I'm interested in usingdistinct
on an iterator over floats, where I'm less interested in exact equality.