Skip to content

Commit

Permalink
Merge pull request #412 from Plutonomicon/viet/rexport-rational
Browse files Browse the repository at this point in the history
fix `Rational` exports
  • Loading branch information
ngua committed May 17, 2022
2 parents 0c5afed + fb9137b commit 62829cc
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions src/Contract/Numeric/Rational.purs
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
-- | Arbitrary precision rational numbers (backed by `BigInt`).
module Contract.Numeric.Rational
( module Rational
, module Ratio
) where

import Data.Ratio ((%), denominator, numerator, reduce) as Ratio
import Types.Rational (Rational) as Rational
import Types.Rational
( Rational
, class RationalComponent
, reduce
, (%)
, recip
, numerator
, denominator
, denominatorAsNat
) as Rational

0 comments on commit 62829cc

Please sign in to comment.