semigroups-0.8: Haskell 98 semigroupsSource codeContentsIndex
Numeric.Natural
Portabilityportable
Stabilityprovisional
MaintainerEdward Kmett <ekmett@gmail.com>
Description
Natural numbers.
Synopsis
data Natural
class Integral n => Whole n where
toNatural :: n -> Natural
Documentation
data Natural Source
show/hide Instances
class Integral n => Whole n whereSource
A refinement of Integral to represent types that do not contain negative numbers.
Methods
toNatural :: n -> NaturalSource
show/hide Instances
Produced by Haddock version 2.6.1