minBound
minBound is a polymorphic constant used in Haskell to refer to the smallest value representable by a type that implements the Bounded type class. Along with maxBound, minBound defines the lower bound of a bounded type. Bounded is intended for types with a well-defined finite range, such as Bool, Char, and fixed-size numeric types. Types like Integer are not instances of Bounded because they are unbounded.
In practice, minBound is accessed at a type annotation, for example minBound :: Int yields the smallest
minBound is commonly used when initializing variables, constructing ranges, or iterating over all values of a
Custom data types can derive Bounded and Enum to gain minBound and maxBound automatically. For instance: data
Notes: minBound is not a function, but a constant defined per type. Its exact representation differs by