interface Arithmetic <A> Source #
method A Add (A x, A y) Source #
Find the sum of two values
param | x | left hand side of the addition operation |
param | y | right hand side of the addition operation |
returns | The sum of x and y |
method A Subtract (A x, A y) Source #
Find the difference between two values
param | x | left hand side of the subtraction operation |
param | y | right hand side of the subtraction operation |
returns | The difference between x and y |
method A plus <ARITH, A> (A x, A y) Source #
Find the sum of two numbers
param | x | left hand side of the addition operation |
param | y | right hand side of the addition operation |
returns | The sum of x and y |
method A subtract <ARITH, A> (A x, A y) Source #
Find the subtract between two numbers
param | x | left hand side of the subtraction operation |
param | y | right hand side of the subtraction operation |
returns | The sum subtract between x and y |