Rational.Rational.show.if: def of bend-kit-bignum@0.1.0.0 Import: import bend-kit-bignum@0.1.0.0/rational.bend as Rational Lines 82-87 of bend-kit-bignum@0.1.0.0/rational.bend: https://jend.leeeet.dev/read.txt?path=bend-kit-bignum@0.1.0.0/rational.bend&start_line=82&end_line=87 import Base import bend-kit-bignum@0.1.0.0/bigint.bend as Big def Rational.show.if(whole: Bool, n: Big.BigInt, d: Big.BigInt) -> String: match whole: case True{}: Big.BigInt.show(n) case False{}: Big.BigInt.show(n) ++ "/" ++ Big.BigInt.show(d) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.append https://jend.leeeet.dev/definition.txt?path=bend-kit-bignum@0.1.0.0/bigint.bend&name=BigInt https://jend.leeeet.dev/definition.txt?path=bend-kit-bignum@0.1.0.0/bigint.bend&name=BigInt.show