
Number.NonNegative  Portability  Haskell 98  Stability  stable  Maintainer  haskell@henningthielemann.de 



Description 
A type for nonnegative numbers.
It performs a runtime check at construction time (i.e. at runtime)
and is a member of the nonnegative number type class
Numeric.NonNegative.Class.C.


Synopsis 



Documentation 

T 


Convert a number to a nonnegative number.
If a negative number is given, an error is raised.



:: (Ord a, C a)   => String  name of the calling function to be used in the error message
 > a   > T a  



Convert a number to a nonnegative number.
A negative number will be replaced by zero.
Use this function with care since it may hide bugs.


fromNumberUnsafe 

toNumber 

Int 

Integer 

Float 

Double 





Produced by Haddock version 2.4.2 