ref: 44dc3008bc938e223f0d4c9a44a1f48f9a1448a7
dir: /lib/Data/Ratio_Type.hs/
module Data.Ratio_Type(module Data.Ratio_Type) where import Primitives import Data.Integer_Type data Ratio a = !a :% !a type Rational = Ratio Integer _integerToRational :: Integer -> Rational _integerToRational x = x :% (1::Integer) _mkRational :: Integer -> Integer -> Rational _mkRational = (:%)