The Bounded class is used to name the upper and lower limits of a type. Ord is not a superclass of Bounded since types that are not totally ordered may also have upper and lower bounds.
The Bounded class may be derived for any enumeration type;
minBound is the first constructor listed in the data declaration
and maxBound is the last.
Bounded may also be derived for single-constructor datatypes whose
constituent types are in Bounded.
Instances98Bounded, …
Bounded ByteOrderDefined in ghc-internal-9.1003.0 · GHC.Internal.ByteOrderBounded AllDefined in ghc-internal-9.1003.0 · GHC.Internal.Data.Semigroup.InternalBounded AnyDefined in ghc-internal-9.1003.0 · GHC.Internal.Data.Semigroup.InternalBounded CBoolDefined in ghc-internal-9.1003.0 · GHC.Internal.Foreign.C.TypesBounded CCharDefined in ghc-internal-9.1003.0 · GHC.Internal.Foreign.C.TypesBounded CIntDefined in ghc-internal-9.1003.0 · GHC.Internal.Foreign.C.TypesBounded CIntMaxDefined in ghc-internal-9.1003.0 · GHC.Internal.Foreign.C.TypesBounded CIntPtrDefined in ghc-internal-9.1003.0 · GHC.Internal.Foreign.C.TypesBounded CLLongDefined in ghc-internal-9.1003.0 · GHC.Internal.Foreign.C.TypesBounded CLongDefined in ghc-internal-9.1003.0 · GHC.Internal.Foreign.C.TypesBounded CPtrdiffDefined in ghc-internal-9.1003.0 · GHC.Internal.Foreign.C.TypesBounded CSCharDefined in ghc-internal-9.1003.0 · GHC.Internal.Foreign.C.TypesBounded CShortDefined in ghc-internal-9.1003.0 · GHC.Internal.Foreign.C.TypesBounded CSigAtomicDefined in ghc-internal-9.1003.0 · GHC.Internal.Foreign.C.TypesBounded CSizeDefined in ghc-internal-9.1003.0 · GHC.Internal.Foreign.C.TypesBounded CUCharDefined in ghc-internal-9.1003.0 · GHC.Internal.Foreign.C.TypesBounded CUIntDefined in ghc-internal-9.1003.0 · GHC.Internal.Foreign.C.TypesBounded CUIntMaxDefined in ghc-internal-9.1003.0 · GHC.Internal.Foreign.C.TypesBounded CUIntPtrDefined in ghc-internal-9.1003.0 · GHC.Internal.Foreign.C.TypesBounded CULLongDefined in ghc-internal-9.1003.0 · GHC.Internal.Foreign.C.TypesBounded CULongDefined in ghc-internal-9.1003.0 · GHC.Internal.Foreign.C.TypesBounded CUShortDefined in ghc-internal-9.1003.0 · GHC.Internal.Foreign.C.TypesBounded CWcharDefined in ghc-internal-9.1003.0 · GHC.Internal.Foreign.C.TypesBounded IntPtrDefined in ghc-internal-9.1003.0 · GHC.Internal.Foreign.PtrBounded WordPtrDefined in ghc-internal-9.1003.0 · GHC.Internal.Foreign.PtrBounded AssociativityDefined in ghc-internal-9.1003.0 · GHC.Internal.GenericsBounded DecidedStrictnessDefined in ghc-internal-9.1003.0 · GHC.Internal.GenericsBounded SourceStrictnessDefined in ghc-internal-9.1003.0 · GHC.Internal.GenericsBounded SourceUnpackednessDefined in ghc-internal-9.1003.0 · GHC.Internal.GenericsBounded Int16Defined in ghc-internal-9.1003.0 · GHC.Internal.IntBounded Int32Defined in ghc-internal-9.1003.0 · GHC.Internal.IntBounded Int64Defined in ghc-internal-9.1003.0 · GHC.Internal.IntBounded Int8Defined in ghc-internal-9.1003.0 · GHC.Internal.IntBounded CBlkCntDefined in ghc-internal-9.1003.0 · GHC.Internal.System.Posix.TypesBounded CBlkSizeDefined in ghc-internal-9.1003.0 · GHC.Internal.System.Posix.TypesBounded CClockIdDefined in ghc-internal-9.1003.0 · GHC.Internal.System.Posix.TypesBounded CDevDefined in ghc-internal-9.1003.0 · GHC.Internal.System.Posix.TypesBounded CFsBlkCntDefined in ghc-internal-9.1003.0 · GHC.Internal.System.Posix.TypesBounded CFsFilCntDefined in ghc-internal-9.1003.0 · GHC.Internal.System.Posix.TypesBounded CGidDefined in ghc-internal-9.1003.0 · GHC.Internal.System.Posix.TypesBounded CIdDefined in ghc-internal-9.1003.0 · GHC.Internal.System.Posix.TypesBounded CInoDefined in ghc-internal-9.1003.0 · GHC.Internal.System.Posix.TypesBounded CKeyDefined in ghc-internal-9.1003.0 · GHC.Internal.System.Posix.TypesBounded CModeDefined in ghc-internal-9.1003.0 · GHC.Internal.System.Posix.TypesBounded CNfdsDefined in ghc-internal-9.1003.0 · GHC.Internal.System.Posix.TypesBounded CNlinkDefined in ghc-internal-9.1003.0 · GHC.Internal.System.Posix.TypesBounded COffDefined in ghc-internal-9.1003.0 · GHC.Internal.System.Posix.TypesBounded CPidDefined in ghc-internal-9.1003.0 · GHC.Internal.System.Posix.TypesBounded CRLimDefined in ghc-internal-9.1003.0 · GHC.Internal.System.Posix.TypesBounded CSocklenDefined in ghc-internal-9.1003.0 · GHC.Internal.System.Posix.TypesBounded CSsizeDefined in ghc-internal-9.1003.0 · GHC.Internal.System.Posix.TypesBounded CTcflagDefined in ghc-internal-9.1003.0 · GHC.Internal.System.Posix.TypesBounded CUidDefined in ghc-internal-9.1003.0 · GHC.Internal.System.Posix.TypesBounded FdDefined in ghc-internal-9.1003.0 · GHC.Internal.System.Posix.TypesBounded GeneralCategoryDefined in ghc-internal-9.1003.0 · GHC.Internal.UnicodeBounded Word16Defined in ghc-internal-9.1003.0 · GHC.Internal.WordBounded Word32Defined in ghc-internal-9.1003.0 · GHC.Internal.WordBounded Word64Defined in ghc-internal-9.1003.0 · GHC.Internal.WordBounded Word8Defined in ghc-internal-9.1003.0 · GHC.Internal.WordBounded BoolDefined in ghc-internal-9.1003.0 · GHC.Internal.EnumBounded CharDefined in ghc-internal-9.1003.0 · GHC.Internal.EnumBounded IntDefined in ghc-internal-9.1003.0 · GHC.Internal.EnumBounded LevityDefined in ghc-internal-9.1003.0 · GHC.Internal.EnumBounded OrderingDefined in ghc-internal-9.1003.0 · GHC.Internal.EnumBounded VecCountDefined in ghc-internal-9.1003.0 · GHC.Internal.EnumBounded VecElemDefined in ghc-internal-9.1003.0 · GHC.Internal.EnumBounded WordDefined in ghc-internal-9.1003.0 · GHC.Internal.EnumBounded ()Defined in ghc-internal-9.1003.0 · GHC.Internal.EnumBounded a => Bounded (And a)Defined in ghc-internal-9.1003.0 · GHC.Internal.Data.BitsBounded a => Bounded (Iff a)Defined in ghc-internal-9.1003.0 · GHC.Internal.Data.BitsBounded a => Bounded (Ior a)Defined in ghc-internal-9.1003.0 · GHC.Internal.Data.BitsBounded a => Bounded (Xor a)Defined in ghc-internal-9.1003.0 · GHC.Internal.Data.BitsBounded a => Bounded (Identity a)Defined in ghc-internal-9.1003.0 · GHC.Internal.Data.Functor.IdentityBounded a => Bounded (Down a)Defined in ghc-internal-9.1003.0 · GHC.Internal.Data.OrdBounded a => Bounded (Dual a)Defined in ghc-internal-9.1003.0 · GHC.Internal.Data.Semigroup.InternalBounded a => Bounded (Product a)Defined in ghc-internal-9.1003.0 · GHC.Internal.Data.Semigroup.InternalBounded a => Bounded (Sum a)Defined in ghc-internal-9.1003.0 · GHC.Internal.Data.Semigroup.InternalBounded a => Bounded (a)Defined in ghc-internal-9.1003.0 · GHC.Internal.EnumBounded (Proxy t)Defined in ghc-internal-9.1003.0 · GHC.Internal.Data.Proxy(Bounded a, Bounded b) => Bounded (a, b)Defined in ghc-internal-9.1003.0 · GHC.Internal.EnumBounded a => Bounded (Const a b)Defined in ghc-internal-9.1003.0 · GHC.Internal.Data.Functor.ConstCoercible a b => Bounded (Coercion a b)Defined in ghc-internal-9.1003.0 · GHC.Internal.Data.Type.Coercion(Applicative f, Bounded a) => Bounded (Ap f a)Defined in ghc-internal-9.1003.0 · GHC.Internal.Data.Monoid(Bounded a, Bounded b, Bounded c) => Bounded (a, b, c)Defined in ghc-internal-9.1003.0 · GHC.Internal.Enuma ~ b => Bounded (a :~: b)Defined in ghc-internal-9.1003.0 · GHC.Internal.Data.Type.Equality(Bounded a, Bounded b, Bounded c, Bounded d) => Bounded (a, b, c, d)Defined in ghc-internal-9.1003.0 · GHC.Internal.Enuma ~~ b => Bounded (a :~~: b)Defined in ghc-internal-9.1003.0 · GHC.Internal.Data.Type.Equality(Bounded a, Bounded b, Bounded c, Bounded d, Bounded e) => Bounded (a, b, c, d, e)Defined in ghc-internal-9.1003.0 · GHC.Internal.Enum(Bounded a, Bounded b, Bounded c, Bounded d, Bounded e, Bounded f) => Bounded (a, b, c, d, e, f)Defined in ghc-internal-9.1003.0 · GHC.Internal.Enum(Bounded a, Bounded b, Bounded c, Bounded d, Bounded e, Bounded f, Bounded g) => Bounded (a, b, c, d, e, f, g)Defined in ghc-internal-9.1003.0 · GHC.Internal.Enum(Bounded a, Bounded b, Bounded c, Bounded d, Bounded e, Bounded f, Bounded g, Bounded h) => Bounded (a, b, c, d, e, f, g, h)Defined in ghc-internal-9.1003.0 · GHC.Internal.Enum(Bounded a, Bounded b, Bounded c, Bounded d, Bounded e, Bounded f, Bounded g, Bounded h, Bounded i) => Bounded (a, b, c, d, e, f, g, h, i)Defined in ghc-internal-9.1003.0 · GHC.Internal.Enum(Bounded a, Bounded b, Bounded c, Bounded d, Bounded e, Bounded f, Bounded g, Bounded h, Bounded i, Bounded j) => Bounded (a, b, c, d, e, f, g, h, i, j)Defined in ghc-internal-9.1003.0 · GHC.Internal.Enum(Bounded a, Bounded b, Bounded c, Bounded d, Bounded e, Bounded f, Bounded g, Bounded h, Bounded i, Bounded j, Bounded k) => Bounded (a, b, c, d, e, f, g, h, i, j, k)Defined in ghc-internal-9.1003.0 · GHC.Internal.Enum(Bounded a, Bounded b, Bounded c, Bounded d, Bounded e, Bounded f, Bounded g, Bounded h, Bounded i, Bounded j, Bounded k, Bounded l) => Bounded (a, b, c, d, e, f, g, h, i, j, k, l)Defined in ghc-internal-9.1003.0 · GHC.Internal.Enum(Bounded a, Bounded b, Bounded c, Bounded d, Bounded e, Bounded f, Bounded g, Bounded h, Bounded i, Bounded j, Bounded k, Bounded l, Bounded m) => Bounded (a, b, c, d, e, f, g, h, i, j, k, l, m)Defined in ghc-internal-9.1003.0 · GHC.Internal.Enum(Bounded a, Bounded b, Bounded c, Bounded d, Bounded e, Bounded f, Bounded g, Bounded h, Bounded i, Bounded j, Bounded k, Bounded l, Bounded m, Bounded n) => Bounded (a, b, c, d, e, f, g, h, i, j, k, l, m, n)Defined in ghc-internal-9.1003.0 · GHC.Internal.Enum(Bounded a, Bounded b, Bounded c, Bounded d, Bounded e, Bounded f, Bounded g, Bounded h, Bounded i, Bounded j, Bounded k, Bounded l, Bounded m, Bounded n, Bounded o) => Bounded (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o)Defined in ghc-internal-9.1003.0 · GHC.Internal.Enum