fraction.spad line 623 [edit on github]
This package extends a map between integral domains to a map between Fractions over those domains by applying the map to the numerators and denominators.
map(func, frac) applies the function func to the numerator and denominator of the fraction frac.