For example, DateTime.compare/2 returns :lt, :eq or :gt. This seams more readable than returning -1/0/1.
I'm willing to make a PR for this change, but since this breaks compatibility, it will probably require version 2.0, so I'm making this issue first to see if there is any interest in such a PR.
For example,
DateTime.compare/2
returns:lt
,:eq
or:gt
. This seams more readable than returning -1/0/1.I'm willing to make a PR for this change, but since this breaks compatibility, it will probably require version 2.0, so I'm making this issue first to see if there is any interest in such a PR.