Typeclass to add two fractions
Typeclass for finding the greatest common divisor of two numbers using Euclid's algorithm.
Typeclass for finding the greatest common divisor of two numbers using Euclid's algorithm.
a non-zero natural number
another non-zero natural number
Typeclass to multiply two fractions
Typeclass for negating a fraction
Typeclass to simplify a fraction
Typeclass for subtracting fractions
Typeclass to determine if a fraction is non-zero and finite