semigroups-0.7.1.2: Haskell 98 semigroups

Portabilityportable
Stabilityprovisional
MaintainerEdward Kmett <ekmett@gmail.com>

Numeric.Natural.Internal

Description

This module exposes the potentially unsafe operations that are sometimes needed for efficiency: The Natural data constructor and unsafePred.

Synopsis

Documentation

newtype Natural Source

Constructors

Instances

class Integral n => Whole n whereSource

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

Methods

toNatural :: n -> Natural Source

unsafePred :: n -> nSource

Instances

AltStyle によって変換されたページ (->オリジナル) /