type Rational
import bend-kit-bignum@0.1.0.0/rational.bend as Rationalimport Base
import bend-kit-bignum@0.1.0.0/bigint.bend as Big
6# num / den with den > 0 and gcd(num, den) = 1, so zero is 0/1 and equal
7# values are equal terms. Build one with make, from_bigint or from_decimal;
8# the raw constructor does not normalize.
9type Rational is Data:
10 Rational{num: Big.BigInt, den: Big.BigInt}