PlutusTx.Ord.TH
deriveOrd ∷ Name → Q [Dec] Source #
derive a PlutusTx.Ord instance for a datatype/newtype, similar to Haskell's `deriving stock Ord`.
One shortcoming compared to Haskell's deriving is that you cannot deriveOrd for polymorphic phantom types.
deriveOrd