compare package:partial-order

Compare function, returning either Just an Ordering or Nothing.