Safe Haskell | None |
---|---|
Language | Haskell2010 |
Language.Symantic.Lib.Ratio
Description
Symantic for Ratio
.
Synopsis
Class Sym_Ratio
class Sym_Ratio term where Source #
Minimal complete definition
Nothing
Methods
ratio :: Integral a => term a -> term a -> term (Ratio a) Source #
numerator :: term (Ratio a) -> term a Source #
denominator :: term (Ratio a) -> term a Source #
ratio :: Sym_Ratio (UnT term) => Trans term => Integral a => term a -> term a -> term (Ratio a) Source #
numerator :: Sym_Ratio (UnT term) => Trans term => term (Ratio a) -> term a Source #
denominator :: Sym_Ratio (UnT term) => Trans term => term (Ratio a) -> term a Source #