{-# LANGUAGE TemplateHaskell, DataKinds, PolyKinds, ScopedTypeVariables,
TypeFamilies, TypeOperators, GADTs, UndecidableInstances,
FlexibleContexts, DefaultSignatures, InstanceSigs,
StandaloneDeriving, FlexibleInstances, TypeApplications #-}
{-# OPTIONS_GHC -Wno-orphans #-}
module Data.Singletons.Prelude.Ord (
POrd(..), SOrd(..),
Comparing, sComparing,
thenCmp, ThenCmp, sThenCmp,
Sing, SOrdering(..), SDown(..),
ThenCmpSym0, ThenCmpSym1, ThenCmpSym2,
LTSym0, EQSym0, GTSym0,
CompareSym0, CompareSym1, CompareSym2,
type (<@#@$), type (<@#@$$), type (<@#@$$$),
type (<=@#@$), type (<=@#@$$), type (<=@#@$$$),
type (>@#@$), type (>@#@$$), type (>@#@$$$),
type (>=@#@$), type (>=@#@$$), type (>=@#@$$$),
MaxSym0, MaxSym1, MaxSym2,
MinSym0, MinSym1, MinSym2,
ComparingSym0, ComparingSym1, ComparingSym2, ComparingSym3,
DownSym0, DownSym1
) where
import Data.Ord (Down(..))
import Data.Singletons.Single
import Data.Singletons.Prelude.Eq
import Data.Singletons.Prelude.Instances
import Data.Singletons.Util
$(