ref: 22dc68832db4d88b0f27442c74bcfba6b5dab81f
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 -- XXX should be strict type Rational = Ratio Integer _integerToRational :: Integer -> Rational _integerToRational x = x :% (1::Integer) _mkRational :: Integer -> Integer -> Rational _mkRational = (:%)