Lexicographically compare a list of attributes of two records.
Example:
compare [comparing fst, comparing snd]:: a typeCtrl KGHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27
Moduleutility-ht-0.0.17.2Haskell98
Lexicographically compare a list of attributes of two records.
Example:
compare [comparing fst, comparing snd]Check whether a selected set of fields of two records is equal.
Example:
equal [equating fst, equating snd]