Lexicographically compare a list of attributes of two records.
Example:
compare [comparing fst, comparing snd]GHC 10.0.0.20260917 · lts/ghc-10.0.x · 77a8662 · 2026-10-31
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]