integer-types-0.1.4.0: Integer, Natural, and Positive
Safe HaskellSafe-Inferred
LanguageGHC2021

Integer.Increase

Synopsis

Documentation

class Increase a where Source #

Class of numbers are closed under addition with Natural

Methods

increase :: Natural -> a -> a Source #

Addition

Instances

Instances details
Increase Positive Source # 
Instance details

Defined in Integer.Increase

Increase Signed Source # 
Instance details

Defined in Integer.Increase

Increase Integer Source # 
Instance details

Defined in Integer.Increase

Increase Natural Source # 
Instance details

Defined in Integer.Increase