``` fun Int.r(): RationalNumber = RationalNumber(t...
# getting-started
o
Copy code
fun Int.r(): RationalNumber = RationalNumber(this, 1)

fun Pair<Int, Int>.r(): RationalNumber = RationalNumber(this.first, this.second)
👍 1