Transits two Orderings. Returns secondFn() if first is equal, otherwise returns first. It is useful to implement PartialOrd for some object type. The order of arguments is reversed because of that it is useful for partial applying.
Ordering
secondFn()
first
equal
PartialOrd
The function to provide a second order.
The transited order.
Generated using TypeDoc
Transits two
Ordering
s. ReturnssecondFn()
iffirst
isequal
, otherwise returnsfirst
. It is useful to implementPartialOrd
for some object type. The order of arguments is reversed because of that it is useful for partial applying.