Skip to content

Fraction ​

A bare numerator/denominator pair over number, kept unreduced — unlike RationalNumber or FractionalNumber, whose components are integer.

Fraction(numerator, denominator)a numerator/denominator pair, unreduced and untyped beyond number
Typed signatures
TypePackageApplies
(tuple<number, number>) -> fractionnumeralsalways

Domain: Combinatorial maps

Examples

Basic #

Kept as written: 6/46/4 is not reduced to 3/23/2

live ↗
InFraction((6,4))\mathrm{Fraction}((6,4))OutFraction((6,4))\mathrm{Fraction}((6,4))
About
Examples1

See also: RationalNumber, FractionalNumber