Module
Data.Bounded 
- Package
- purescript-prelude
- Repository
- purescript/purescript-prelude
#Bounded Source
#BoundedRecord Source
class BoundedRecord :: RowList Type -> Row Type -> Row Type -> Constraintclass (OrdRecord rowlist row) <= BoundedRecord rowlist row subrow | rowlist -> subrow where
Members
- topRecord :: Proxy rowlist -> Proxy row -> Record subrow
- bottomRecord :: Proxy rowlist -> Proxy row -> Record subrow
Instances
- BoundedRecord Nil row ()
- (IsSymbol key, Bounded focus, Cons key focus rowTail row, Cons key focus subrowTail subrow, BoundedRecord rowlistTail row subrowTail) => BoundedRecord (Cons key focus rowlistTail) row subrow
Re-exports from Data.Ord 
#Ordering Source
data OrderingThe Ordering data type represents the three possible outcomes of
comparing two values:
LT - The first value is less than the second.
GT - The first value is greater than the second.
EQ - The first value is equal to the second.
Constructors
Instances
#Ord Source
class (Eq a) <= Ord a  whereThe Ord type class represents types which support comparisons with a
total order.
Ord instances should satisfy the laws of total orderings:
- Reflexivity: a <= a
- Antisymmetry: if a <= bandb <= athena = b
- Transitivity: if a <= bandb <= cthena <= c
Note: The Number type is not an entirely law abiding member of this
class due to the presence of NaN, since NaN <= NaN evaluates to false
Members
Instances
- Modules
- Control.Applicative 
- Control.Apply 
- Control.Bind 
- Control.Category 
- Control.Monad 
- Control.Semigroupoid 
- Data.Boolean 
- Data.BooleanAlgebra 
- Data.Bounded 
- Data.Bounded. Generic 
- Data.CommutativeRing 
- Data.DivisionRing 
- Data.Eq 
- Data.Eq. Generic 
- Data.EuclideanRing 
- Data.Field 
- Data.Function 
- Data.Functor 
- Data.Generic. Rep 
- Data.HeytingAlgebra 
- Data.HeytingAlgebra. Generic 
- Data.Monoid 
- Data.Monoid. Additive 
- Data.Monoid. Conj 
- Data.Monoid. Disj 
- Data.Monoid. Dual 
- Data.Monoid. Endo 
- Data.Monoid. Generic 
- Data.Monoid. Multiplicative 
- Data.NaturalTransformation 
- Data.Ord 
- Data.Ord. Generic 
- Data.Ordering 
- Data.Reflectable 
- Data.Ring 
- Data.Ring. Generic 
- Data.Semigroup 
- Data.Semigroup. First 
- Data.Semigroup. Generic 
- Data.Semigroup. Last 
- Data.Semiring 
- Data.Semiring. Generic 
- Data.Show 
- Data.Show. Generic 
- Data.Symbol 
- Data.Unit 
- Data.Void 
- Prelude
- Record.Unsafe 
- Type.Proxy 
The
BoundedIntinstance hastop :: Intequal to 2^31 - 1, andbottom :: Intequal to -2^31, since these are the largest and smallest integers representable by twos-complement 32-bit integers, respectively.