HORIZON HASKELLDocslts/ghc-10.0.x77a86622026-10-31Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 77a8662 · 2026-10-31

Moduleutility-ht-0.0.17.2Haskell98

Data.Record.HT

Synopsis
valuecompare :: [a -> a -> Ordering] -> a -> a -> Ordering

Lexicographically compare a list of attributes of two records.

Example:

compare [comparing fst, comparing snd]
valueequal :: [a -> a -> Bool] -> a -> a -> Bool

Check whether a selected set of fields of two records is equal.

Example:

equal [equating fst, equating snd]