[erlang-questions] Maps branch and disclaimers
Tue Oct 29 18:05:34 CET 2013
I would rather have lt/eq/gt atoms than operator names or integers.
Otherwise I really fancy red bikes.
Le 29 oct. 2013 à 17:39, José Valim <jose.valim@REDACTED> a écrit :
> 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.
More information about the erlang-questions