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

Modulesome-1.0.6Haskell2010

Data.OrdP

Synopsis
  • Packagesome-1.0.6
  • Exports1
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceOrdP.hs
classclass (EqP f, forall (a :: k). Ord (f a)) => OrdP (f :: k -> Type) where

Heterogenous lifted total order.

This class is stronger version of Ord1 from base

class (forall a. Ord a => Ord (f a)) => Ord1 f where
    liftCompare :: (a -> b -> Ordering) -> f a -> f b -> Ordering

Methods

Instances12OrdP, …