given_Convertible_RationalNumber_WholeNumber
com.phasmidsoftware.number.algebra.eager.RationalNumber.given_Convertible_RationalNumber_WholeNumber
object given_Convertible_RationalNumber_WholeNumber extends Convertible[RationalNumber, WholeNumber]
Provides a given instance of the Convertible type class to enable the conversion of a WholeNumber into a RationalNumber.
This implementation defines the convert method, which delegates the conversion of a WholeNumber to its corresponding RationalNumber representation by invoking the toRationalNumber method on the WholeNumber instance.
Attributes
- Graph
-
- Supertypes
- Self type
Members list
In this article