RealFrac -package:intro -package:reform -package:Boolean

Extracting components of fractions.
Methods for the RealFrac instances for Float and Double, with specialised versions for Int. Moved to their own module to not bloat GHC.Float further.
Generates a random fractional number in the [inclusive,exclusive) range. This generator does not shrink.
Convert a real fractional value into a Decimal of the appropriate precision.
Provides a Function instance for types with RealFrac.
Shrink a fraction, preferring numbers with smaller numerators or denominators. See also shrinkDecimal.