[erlang-questions] Maps branch and disclaimers
Tue Oct 29 17:39:16 CET 2013
> "Not me against".
> But I think that term_compare/2 should return the term comparison
> operators <:<, =:=, >:> (or the @... alternatives) while compare/2 should
> return the old comparison operators as this is what they test.
Another idea is to make them return -1, 0 and 1. Then you can use the
output of both term_compare/2 and compare/2 (or any other comparison
function) without checking for specific operators.
Founder and Lead Developer
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions