|
| Numeric.NonNegative.Wrapper | | Portability | Haskell 98 | | Stability | stable | | Maintainer | haskell@henning-thielemann.de |
|
|
|
| Description |
| A type for non-negative numbers.
It performs a run-time check at construction time (i.e. at run-time)
and is a member of the non-negative number type class
Numeric.NonNegative.Class.C.
|
|
| Synopsis |
|
|
|
| Documentation |
|
|
|
|
| Convert a number to a non-negative number.
If a negative number is given, an error is raised.
|
|
|
|
|
|
| Convert a number to a non-negative number.
A negative number will be replaced by zero.
Use this function with care since it may hide bugs.
|
|
|
| Wrap a number into a non-negative number without doing checks.
This routine exists entirely for efficiency reasons
and must be used only in cases where you are absolutely sure,
that the input number is non-negative.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Produced by Haddock version 2.6.0 |