semigroups-0.8.4.1: Haskell 98 semigroups

Portabilityportable
Stabilityprovisional
MaintainerEdward Kmett <ekmett@gmail.com>
Safe HaskellSafe-Inferred

Numeric.Natural

Description

Natural numbers.

Synopsis

Documentation

class Integral n => Whole n whereSource

A refinement of Integral to represent types that do not contain negative numbers.

Methods

toNatural :: n -> NaturalSource