This file implements some comparison functions as functions and not
as operators. This allows for some runtime verification, and the
possibility to use these functions in a functional programming
setting. This also corrects some shortcomings of the JS standard
library, such as providing comparators usable by Array.sort.
This file implements some comparison functions as functions and not as operators. This allows for some runtime verification, and the possibility to use these functions in a functional programming setting. This also corrects some shortcomings of the JS standard library, such as providing comparators usable by
Array.sort
.