| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
PlutusTx.Ord
Contents
Documentation
class Eq a => Ord a where Source #
The Ord class is used for totally ordered datatypes.
Minimal complete definition: either compare or <=.
Using compare can be more efficient for complex types.
Minimal complete definition
Nothing
Methods
compare :: a -> a -> Ordering Source #
(<) :: a -> a -> Bool infix 4 Source #
(<=) :: a -> a -> Bool infix 4 Source #
(>) :: a -> a -> Bool infix 4 Source #