Order
Order
type Order = {#less; #equal; #greater}
A type to represent an order.
public func isLess(order : Order) : Bool
Check if an order is #less.
public func isEqual(order : Order) : Bool
Check if an order is #equal.
public func isGreater(order : Order) : Bool
Check if an order is #greater.
public func equal(o1 : Order, o2 : Order) : Bool
Returns true if only if o1
and o2
are the same ordering.