Copyright | (C) 2011 Edward Kmett |
---|---|
License | BSD-style (see the file LICENSE) |
Maintainer | Edward Kmett <ekmett@gmail.com> |
Stability | provisional |
Portability | portable |
Safe Haskell | Safe |
Language | Haskell98 |
Numeric.Natural.Internal
Description
This module exposes the potentially unsafe operations that are sometimes needed for efficiency: The Natural data constructor and unsafePred.
Documentation
Constructors
Natural | |
Fields |
Instances
class Integral n => Whole n where #
A refinement of Integral
to represent types that do not contain negative numbers.
Instances
Whole Word # | |
Defined in Numeric.Natural.Internal | |
Whole Word8 # | |
Defined in Numeric.Natural.Internal | |
Whole Word16 # | |
Defined in Numeric.Natural.Internal | |
Whole Word32 # | |
Defined in Numeric.Natural.Internal | |
Whole Word64 # | |
Defined in Numeric.Natural.Internal | |
Whole Natural # | |
Defined in Numeric.Natural.Internal |