semigroups-0.7.1.1: Haskell 98 semigroups
Numeric.Natural
Description
Natural numbers.
Synopsis
data Natural Source
Instances
class Integral n => Whole n whereSource
A refinement of Integral to represent types that do not contain negative numbers.
Methods
toNatural :: n -> NaturalSource