Skip to content

Instantly share code, notes, and snippets.

@gdejohn
Last active March 28, 2019 20:05
Show Gist options
  • Save gdejohn/13fe99aef56331604fac0fa073f71218 to your computer and use it in GitHub Desktop.
Save gdejohn/13fe99aef56331604fac0fa073f71218 to your computer and use it in GitHub Desktop.
Comparison comparing<in Value>(Comparison(Value, Value)* comparators)(Value x, Value y)
=> comparators.spread(identity)(x, y).find(not(equal.equals)) else equal;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment