module Coda.Algebra.Ordered
( OrderedMonoid
) where
import Coda.Relative.Delta.Type
import Data.Monoid
class (Ord t, Monoid t) => OrderedMonoid t
instance OrderedMonoid Delta
instance OrderedMonoid Any
instance OrderedMonoid All
instance OrderedMonoid a => OrderedMonoid (Dual a)
instance Ord a => OrderedMonoid [a]
instance Ord a => OrderedMonoid (First a)
instance Ord a => OrderedMonoid (Last a)
instance OrderedMonoid a => OrderedMonoid (Maybe a)
instance OrderedMonoid ()
instance (OrderedMonoid a, OrderedMonoid b) => OrderedMonoid (a, b)