To compare any type of number to any type of number? Or to compare any type of number to another of the same type? Also I can see many usages of compare beyond number comparisons too.
If the first, I'm unsure what sense it is to compare, say, a decimal to a Timex date? On Monday, August 29, 2016 at 1:57:58 PM UTC-6, Ben Wilson wrote: > > Because half the point of the comparable protocol is making it easy to > compare numbers generically, where "numbers" can be any of integer, float, > decimal, rational. > > -- You received this message because you are subscribed to the Google Groups "elixir-lang-core" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/cc56ea45-9f5f-4a4a-a28b-98543e16c479%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
