join
Description:
Joins the given two compare functions and returns the combined compare function.
- It compares using cmp first
- If both are considered equal, it compares them using cmp2.
Parameters:
cmp |
a compare function |
cmp2 |
a compare function |
Returns:
the new compare function |
Namespace: Gpseq.Compares
Package: gpseq-1.0