relude icon indicating copy to clipboard operation
relude copied to clipboard

Inconsistent implementations of eqBy, compareBy, eq, compare

Open mlms13 opened this issue 1 year ago • 0 comments

Option

  • [x] eqBy
  • [ ] eq (that accepts an Eq module argument)
  • [ ] compareBy
  • [ ] compare (that accepts an Ord module argument

Array

  • [x] eqBy
  • [x] eq
  • [ ] compareBy
  • [ ] compare

List

  • [x] eqBy
  • [x] eq
  • [ ] compareBy
  • [ ] compare
  • [ ] Ord

It looks like we have compareBy for tuples and Relude.Map, but maybe not for anything else.

mlms13 avatar Apr 25 '23 16:04 mlms13