interface Arithmetic <A> Source #
method A plus <ARITH, A> (A x, A y) Source #
where
ARITH : struct, Arithmetic<A>
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 #
where
ARITH : struct, Arithmetic<A>
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 |