-record(ratio, {n :: integer(), d :: integer()}).