plutus-tx-1.58.0.0: Libraries for Plutus Tx and its prelude
Safe HaskellSafe-Inferred
LanguageHaskell2010

PlutusTx.Ord.TH

Synopsis

Documentation

deriveOrdNameQ [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.