ljuglaret/fraction/2.0.2

NOTE: the latest version is 2.0.3

Unavailable. Nobody can download this version any more, with elm or with the Lamdera compiler: github.com/ljuglaret/Fraction exists but has no tag 2.0.2; Software Heritage has not archived the repo; no fork with tag 2.0.2 found (57 same-name repos checked); no cached copy. Use another version.

Details

Fraction

Definition

Fonctions

fraction1+fraction2

fraction1*fraction2

createFraction : ( Int, Int ) -> Maybe Fraction

Create a Fraction

Access to the numerator

Access to the denominator

sup : Fraction -> Fraction -> Bool

fraction1 > fraction 2

eq : Fraction -> Fraction -> Bool

fraction1 == fraction 2

inf : Fraction -> Fraction -> Bool

fraction1 < fraction 2