base-4.22.0.0: Core data structures and operations
Copyright(c) The University of Glasgow 1992-2002
Licensesee libraries/base/LICENSE
Maintainercvs-ghc@haskell.org
Stabilitystable
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe
LanguageHaskell2010

Data.Bounded

Description

The Bounded class.

Since: base-4.21.0.0

Synopsis

Documentation

class Bounded a where Source #

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.

Methods

minBound :: a Source #

maxBound :: a Source #

Instances

Instances details
Bounded ByteOrder Source #

Since: base-4.11.0.0

Instance details

Defined in GHC.Internal.ByteOrder

Methods

minBound :: ByteOrder Source #

maxBound :: ByteOrder Source #

Bounded All Source #

Since: base-2.1

Instance details

Defined in GHC.Internal.Data.Semigroup.Internal

Methods

minBound :: All Source #

maxBound :: All Source #

Bounded Any Source #

Since: base-2.1

Instance details

Defined in GHC.Internal.Data.Semigroup.Internal

Methods

minBound :: Any Source #

maxBound :: Any Source #

Bounded CBool Source # 
Instance details

Defined in GHC.Internal.Foreign.C.Types

Methods

minBound :: CBool Source #

maxBound :: CBool Source #

Bounded CChar Source # 
Instance details

Defined in GHC.Internal.Foreign.C.Types

Methods

minBound :: CChar Source #

maxBound :: CChar Source #

Bounded CInt Source # 
Instance details

Defined in GHC.Internal.Foreign.C.Types

Methods

minBound :: CInt Source #

maxBound :: CInt Source #

Bounded CIntMax Source # 
Instance details

Defined in GHC.Internal.Foreign.C.Types

Methods

minBound :: CIntMax Source #

maxBound :: CIntMax Source #

Bounded CIntPtr Source # 
Instance details

Defined in GHC.Internal.Foreign.C.Types

Methods

minBound :: CIntPtr Source #

maxBound :: CIntPtr Source #

Bounded CLLong Source # 
Instance details

Defined in GHC.Internal.Foreign.C.Types

Methods

minBound :: CLLong Source #

maxBound :: CLLong Source #

Bounded CLong Source # 
Instance details

Defined in GHC.Internal.Foreign.C.Types

Methods

minBound :: CLong Source #

maxBound :: CLong Source #

Bounded CPtrdiff Source # 
Instance details

Defined in GHC.Internal.Foreign.C.Types

Methods

minBound :: CPtrdiff Source #

maxBound :: CPtrdiff Source #

Bounded CSChar Source # 
Instance details

Defined in GHC.Internal.Foreign.C.Types

Methods

minBound :: CSChar Source #

maxBound :: CSChar Source #

Bounded CShort Source # 
Instance details

Defined in GHC.Internal.Foreign.C.Types

Methods

minBound :: CShort Source #

maxBound :: CShort Source #

Bounded CSigAtomic Source # 
Instance details

Defined in GHC.Internal.Foreign.C.Types

Methods

minBound :: CSigAtomic Source #

maxBound :: CSigAtomic Source #

Bounded CSize Source # 
Instance details

Defined in GHC.Internal.Foreign.C.Types

Methods

minBound :: CSize Source #

maxBound :: CSize Source #

Bounded CUChar Source # 
Instance details

Defined in GHC.Internal.Foreign.C.Types

Methods

minBound :: CUChar Source #

maxBound :: CUChar Source #

Bounded CUInt Source # 
Instance details

Defined in GHC.Internal.Foreign.C.Types

Methods

minBound :: CUInt Source #

maxBound :: CUInt Source #

Bounded CUIntMax Source # 
Instance details

Defined in GHC.Internal.Foreign.C.Types

Methods

minBound :: CUIntMax Source #

maxBound :: CUIntMax Source #

Bounded CUIntPtr Source # 
Instance details

Defined in GHC.Internal.Foreign.C.Types

Methods

minBound :: CUIntPtr Source #

maxBound :: CUIntPtr Source #

Bounded CULLong Source # 
Instance details

Defined in GHC.Internal.Foreign.C.Types

Methods

minBound :: CULLong Source #

maxBound :: CULLong Source #

Bounded CULong Source # 
Instance details

Defined in GHC.Internal.Foreign.C.Types

Methods

minBound :: CULong Source #

maxBound :: CULong Source #

Bounded CUShort Source # 
Instance details

Defined in GHC.Internal.Foreign.C.Types

Methods

minBound :: CUShort Source #

maxBound :: CUShort Source #

Bounded CWchar Source # 
Instance details

Defined in GHC.Internal.Foreign.C.Types

Methods

minBound :: CWchar Source #

maxBound :: CWchar Source #

Bounded IntPtr Source # 
Instance details

Defined in GHC.Internal.Foreign.Ptr

Methods

minBound :: IntPtr Source #

maxBound :: IntPtr Source #

Bounded WordPtr Source # 
Instance details

Defined in GHC.Internal.Foreign.Ptr

Methods

minBound :: WordPtr Source #

maxBound :: WordPtr Source #

Bounded Associativity Source #

Since: base-4.9.0.0

Instance details

Defined in GHC.Internal.Generics

Methods

minBound :: Associativity Source #

maxBound :: Associativity Source #

Bounded DecidedStrictness Source #

Since: base-4.9.0.0

Instance details

Defined in GHC.Internal.Generics

Bounded SourceStrictness Source #

Since: base-4.9.0.0

Instance details

Defined in GHC.Internal.Generics

Bounded SourceUnpackedness Source #

Since: base-4.9.0.0

Instance details

Defined in GHC.Internal.Generics

Bounded Int16 Source #

Since: base-2.1

Instance details

Defined in GHC.Internal.Int

Methods

minBound :: Int16 Source #

maxBound :: Int16 Source #

Bounded Int32 Source #

Since: base-2.1

Instance details

Defined in GHC.Internal.Int

Methods

minBound :: Int32 Source #

maxBound :: Int32 Source #

Bounded Int64 Source #

Since: base-2.1

Instance details

Defined in GHC.Internal.Int

Methods

minBound :: Int64 Source #

maxBound :: Int64 Source #

Bounded Int8 Source #

Since: base-2.1

Instance details

Defined in GHC.Internal.Int

Methods

minBound :: Int8 Source #

maxBound :: Int8 Source #

Bounded Extension Source # 
Instance details

Defined in GHC.Internal.LanguageExtensions

Methods

minBound :: Extension Source #

maxBound :: Extension Source #

Bounded CBlkCnt Source # 
Instance details

Defined in GHC.Internal.System.Posix.Types

Methods

minBound :: CBlkCnt Source #

maxBound :: CBlkCnt Source #

Bounded CBlkSize Source # 
Instance details

Defined in GHC.Internal.System.Posix.Types

Methods

minBound :: CBlkSize Source #

maxBound :: CBlkSize Source #

Bounded CClockId Source # 
Instance details

Defined in GHC.Internal.System.Posix.Types

Methods

minBound :: CClockId Source #

maxBound :: CClockId Source #

Bounded CDev Source # 
Instance details

Defined in GHC.Internal.System.Posix.Types

Methods

minBound :: CDev Source #

maxBound :: CDev Source #

Bounded CFsBlkCnt Source # 
Instance details

Defined in GHC.Internal.System.Posix.Types

Methods

minBound :: CFsBlkCnt Source #

maxBound :: CFsBlkCnt Source #

Bounded CFsFilCnt Source # 
Instance details

Defined in GHC.Internal.System.Posix.Types

Methods

minBound :: CFsFilCnt Source #

maxBound :: CFsFilCnt Source #

Bounded CGid Source # 
Instance details

Defined in GHC.Internal.System.Posix.Types

Methods

minBound :: CGid Source #

maxBound :: CGid Source #

Bounded CId Source # 
Instance details

Defined in GHC.Internal.System.Posix.Types

Methods

minBound :: CId Source #

maxBound :: CId Source #

Bounded CIno Source # 
Instance details

Defined in GHC.Internal.System.Posix.Types

Methods

minBound :: CIno Source #

maxBound :: CIno Source #

Bounded CKey Source # 
Instance details

Defined in GHC.Internal.System.Posix.Types

Methods

minBound :: CKey Source #

maxBound :: CKey Source #

Bounded CMode Source # 
Instance details

Defined in GHC.Internal.System.Posix.Types

Methods

minBound :: CMode Source #

maxBound :: CMode Source #

Bounded CNfds Source # 
Instance details

Defined in GHC.Internal.System.Posix.Types

Methods

minBound :: CNfds Source #

maxBound :: CNfds Source #

Bounded CNlink Source # 
Instance details

Defined in GHC.Internal.System.Posix.Types

Methods

minBound :: CNlink Source #

maxBound :: CNlink Source #

Bounded COff Source # 
Instance details

Defined in GHC.Internal.System.Posix.Types

Methods

minBound :: COff Source #

maxBound :: COff Source #

Bounded CPid Source # 
Instance details

Defined in GHC.Internal.System.Posix.Types

Methods

minBound :: CPid Source #

maxBound :: CPid Source #

Bounded CRLim Source # 
Instance details

Defined in GHC.Internal.System.Posix.Types

Methods

minBound :: CRLim Source #

maxBound :: CRLim Source #

Bounded CSocklen Source # 
Instance details

Defined in GHC.Internal.System.Posix.Types

Methods

minBound :: CSocklen Source #

maxBound :: CSocklen Source #

Bounded CSsize Source # 
Instance details

Defined in GHC.Internal.System.Posix.Types

Methods

minBound :: CSsize Source #

maxBound :: CSsize Source #

Bounded CTcflag Source # 
Instance details

Defined in GHC.Internal.System.Posix.Types

Methods

minBound :: CTcflag Source #

maxBound :: CTcflag Source #

Bounded CUid Source # 
Instance details

Defined in GHC.Internal.System.Posix.Types

Methods

minBound :: CUid Source #

maxBound :: CUid Source #

Bounded Fd Source # 
Instance details

Defined in GHC.Internal.System.Posix.Types

Methods

minBound :: Fd Source #

maxBound :: Fd Source #

Bounded Ordering Source #

Since: base-2.1

Instance details

Defined in GHC.Internal.Enum

Methods

minBound :: Ordering Source #

maxBound :: Ordering Source #

Bounded GeneralCategory Source #

Since: base-2.1

Instance details

Defined in GHC.Internal.Unicode

Bounded Word16 Source #

Since: base-2.1

Instance details

Defined in GHC.Internal.Word

Methods

minBound :: Word16 Source #

maxBound :: Word16 Source #

Bounded Word32 Source #

Since: base-2.1

Instance details

Defined in GHC.Internal.Word

Methods

minBound :: Word32 Source #

maxBound :: Word32 Source #

Bounded Word64 Source #

Since: base-2.1

Instance details

Defined in GHC.Internal.Word

Methods

minBound :: Word64 Source #

maxBound :: Word64 Source #

Bounded Word8 Source #

Since: base-2.1

Instance details

Defined in GHC.Internal.Word

Methods

minBound :: Word8 Source #

maxBound :: Word8 Source #

Bounded () Source #

Since: base-2.1

Instance details

Defined in GHC.Internal.Enum

Methods

minBound :: () Source #

maxBound :: () Source #

Bounded Bool Source #

Since: base-2.1

Instance details

Defined in GHC.Internal.Enum

Methods

minBound :: Bool Source #

maxBound :: Bool Source #

Bounded Char Source #

Since: base-2.1

Instance details

Defined in GHC.Internal.Enum

Methods

minBound :: Char Source #

maxBound :: Char Source #

Bounded Int Source #

Since: base-2.1

Instance details

Defined in GHC.Internal.Enum

Methods

minBound :: Int Source #

maxBound :: Int Source #

Bounded Levity Source #

Since: base-4.16.0.0

Instance details

Defined in GHC.Internal.Enum

Methods

minBound :: Levity Source #

maxBound :: Levity Source #

Bounded VecCount Source #

Since: base-4.10.0.0

Instance details

Defined in GHC.Internal.Enum

Methods

minBound :: VecCount Source #

maxBound :: VecCount Source #

Bounded VecElem Source #

Since: base-4.10.0.0

Instance details

Defined in GHC.Internal.Enum

Methods

minBound :: VecElem Source #

maxBound :: VecElem Source #

Bounded Word Source #

Since: base-2.1

Instance details

Defined in GHC.Internal.Enum

Methods

minBound :: Word Source #

maxBound :: Word Source #

Bounded a => Bounded (First a) Source #

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Methods

minBound :: First a Source #

maxBound :: First a Source #

Bounded a => Bounded (Last a) Source #

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Methods

minBound :: Last a Source #

maxBound :: Last a Source #

Bounded a => Bounded (Max a) Source #

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Methods

minBound :: Max a Source #

maxBound :: Max a Source #

Bounded a => Bounded (Min a) Source #

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Methods

minBound :: Min a Source #

maxBound :: Min a Source #

Bounded m => Bounded (WrappedMonoid m) Source #

Since: base-4.9.0.0

Instance details

Defined in Data.Semigroup

Methods

minBound :: WrappedMonoid m Source #

maxBound :: WrappedMonoid m Source #

Bounded a => Bounded (And a) Source #

Since: base-4.16

Instance details

Defined in GHC.Internal.Data.Bits

Methods

minBound :: And a Source #

maxBound :: And a Source #

Bounded a => Bounded (Iff a) Source #

Since: base-4.16

Instance details

Defined in GHC.Internal.Data.Bits

Methods

minBound :: Iff a Source #

maxBound :: Iff a Source #

Bounded a => Bounded (Ior a) Source #

Since: base-4.16

Instance details

Defined in GHC.Internal.Data.Bits

Methods

minBound :: Ior a Source #

maxBound :: Ior a Source #

Bounded a => Bounded (Xor a) Source #

Since: base-4.16

Instance details

Defined in GHC.Internal.Data.Bits

Methods

minBound :: Xor a Source #

maxBound :: Xor a Source #

Bounded a => Bounded (Identity a) Source #

Since: base-4.9.0.0

Instance details

Defined in GHC.Internal.Data.Functor.Identity

Methods

minBound :: Identity a Source #

maxBound :: Identity a Source #

Bounded a => Bounded (Down a) Source #

Swaps minBound and maxBound of the underlying type.

Since: base-4.14.0.0

Instance details

Defined in GHC.Internal.Data.Ord

Methods

minBound :: Down a Source #

maxBound :: Down a Source #

Bounded a => Bounded (Dual a) Source #

Since: base-2.1

Instance details

Defined in GHC.Internal.Data.Semigroup.Internal

Methods

minBound :: Dual a Source #

maxBound :: Dual a Source #

Bounded a => Bounded (Product a) Source #

Since: base-2.1

Instance details

Defined in GHC.Internal.Data.Semigroup.Internal

Methods

minBound :: Product a Source #

maxBound :: Product a Source #

Bounded a => Bounded (Sum a) Source #

Since: base-2.1

Instance details

Defined in GHC.Internal.Data.Semigroup.Internal

Methods

minBound :: Sum a Source #

maxBound :: Sum a Source #

Bounded a => Bounded (Solo a) Source # 
Instance details

Defined in GHC.Internal.Enum

Methods

minBound :: Solo a Source #

maxBound :: Solo a Source #

Bounded (Proxy t) Source #

Since: base-4.7.0.0

Instance details

Defined in GHC.Internal.Data.Proxy

Methods

minBound :: Proxy t Source #

maxBound :: Proxy t Source #

(Bounded a, Bounded b) => Bounded (a, b) Source #

Since: base-2.1

Instance details

Defined in GHC.Internal.Enum

Methods

minBound :: (a, b) Source #

maxBound :: (a, b) Source #

Bounded a => Bounded (Const a b) Source #

Since: base-4.9.0.0

Instance details

Defined in GHC.Internal.Data.Functor.Const

Methods

minBound :: Const a b Source #

maxBound :: Const a b Source #

(Applicative f, Bounded a) => Bounded (Ap f a) Source #

Since: base-4.12.0.0

Instance details

Defined in GHC.Internal.Data.Monoid

Methods

minBound :: Ap f a Source #

maxBound :: Ap f a Source #

Coercible a b => Bounded (Coercion a b) Source #

Since: base-4.7.0.0

Instance details

Defined in GHC.Internal.Data.Type.Coercion

Methods

minBound :: Coercion a b Source #

maxBound :: Coercion a b Source #

a ~ b => Bounded (a :~: b) Source #

Since: base-4.7.0.0

Instance details

Defined in GHC.Internal.Data.Type.Equality

Methods

minBound :: a :~: b Source #

maxBound :: a :~: b Source #

(Bounded a, Bounded b, Bounded c) => Bounded (a, b, c) Source #

Since: base-2.1

Instance details

Defined in GHC.Internal.Enum

Methods

minBound :: (a, b, c) Source #

maxBound :: (a, b, c) Source #

a ~~ b => Bounded (a :~~: b) Source #

Since: base-4.10.0.0

Instance details

Defined in GHC.Internal.Data.Type.Equality

Methods

minBound :: a :~~: b Source #

maxBound :: a :~~: b Source #

(Bounded a, Bounded b, Bounded c, Bounded d) => Bounded (a, b, c, d) Source #

Since: base-2.1

Instance details

Defined in GHC.Internal.Enum

Methods

minBound :: (a, b, c, d) Source #

maxBound :: (a, b, c, d) Source #

Bounded (f (g a)) => Bounded (Compose f g a) Source #

Since: base-4.19.0.0

Instance details

Defined in Data.Functor.Compose

Methods

minBound :: Compose f g a Source #

maxBound :: Compose f g a Source #

(Bounded a, Bounded b, Bounded c, Bounded d, Bounded e) => Bounded (a, b, c, d, e) Source #

Since: base-2.1

Instance details

Defined in GHC.Internal.Enum

Methods

minBound :: (a, b, c, d, e) Source #

maxBound :: (a, b, c, d, e) Source #

(Bounded a, Bounded b, Bounded c, Bounded d, Bounded e, Bounded f) => Bounded (a, b, c, d, e, f) Source #

Since: base-2.1

Instance details

Defined in GHC.Internal.Enum

Methods

minBound :: (a, b, c, d, e, f) Source #

maxBound :: (a, b, c, d, e, f) Source #

(Bounded a, Bounded b, Bounded c, Bounded d, Bounded e, Bounded f, Bounded g) => Bounded (a, b, c, d, e, f, g) Source #

Since: base-2.1

Instance details

Defined in GHC.Internal.Enum

Methods

minBound :: (a, b, c, d, e, f, g) Source #

maxBound :: (a, b, c, d, e, f, g) Source #

(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) Source #

Since: base-2.1

Instance details

Defined in GHC.Internal.Enum

Methods

minBound :: (a, b, c, d, e, f, g, h) Source #

maxBound :: (a, b, c, d, e, f, g, h) Source #

(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) Source #

Since: base-2.1

Instance details

Defined in GHC.Internal.Enum

Methods

minBound :: (a, b, c, d, e, f, g, h, i) Source #

maxBound :: (a, b, c, d, e, f, g, h, i) Source #

(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) Source #

Since: base-2.1

Instance details

Defined in GHC.Internal.Enum

Methods

minBound :: (a, b, c, d, e, f, g, h, i, j) Source #

maxBound :: (a, b, c, d, e, f, g, h, i, j) Source #

(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) Source #

Since: base-2.1

Instance details

Defined in GHC.Internal.Enum

Methods

minBound :: (a, b, c, d, e, f, g, h, i, j, k) Source #

maxBound :: (a, b, c, d, e, f, g, h, i, j, k) Source #

(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) Source #

Since: base-2.1

Instance details

Defined in GHC.Internal.Enum

Methods

minBound :: (a, b, c, d, e, f, g, h, i, j, k, l) Source #

maxBound :: (a, b, c, d, e, f, g, h, i, j, k, l) Source #

(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) Source #

Since: base-2.1

Instance details

Defined in GHC.Internal.Enum

Methods

minBound :: (a, b, c, d, e, f, g, h, i, j, k, l, m) Source #

maxBound :: (a, b, c, d, e, f, g, h, i, j, k, l, m) Source #

(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) Source #

Since: base-2.1

Instance details

Defined in GHC.Internal.Enum

Methods

minBound :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n) Source #

maxBound :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n) Source #

(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) Source #

Since: base-2.1

Instance details

Defined in GHC.Internal.Enum

Methods

minBound :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) Source #

maxBound :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) Source #