emgm-0.4: Extensible and Modular Generics for the Masses

Portabilitynon-portable
Stabilityexperimental
Maintainergenerics@haskell.org

Generics.EMGM.Data.Ratio

Description

Summary: Generic representation and instances for Ratio.

Synopsis

Documentation

type RatioS a = a :*: aSource

conRatio :: ConDescrSource

Constructor description for %.

repRatio :: (Integral a, Generic g, Rep g a) => g (Ratio a)Source

Representation of Ratio for rep.

frepRatio :: (Integral a, Generic g) => g a -> g (Ratio a)Source

Representation of Ratio for frep.

frep2Ratio :: (Integral a1, Integral a2, Generic2 g) => g a1 a2 -> g (Ratio a1) (Ratio a2)Source

Representation of Ratio for frep2.

frep3Ratio :: (Integral a1, Integral a2, Integral a3, Generic3 g) => g a1 a2 a3 -> g (Ratio a1) (Ratio a2) (Ratio a3)Source

Representation of Ratio for frep3.

bifrep2Ratio :: (Integral a1, Integral a2, Generic2 g) => g a1 a2 -> g (Ratio a1) (Ratio a2)Source

Representation of Ratio for bifrep2.