@hackage data-interval0.4.0

Interval arithmetic for both open and closed intervals

Unlike the intervals package (http://hackage.haskell.org/package/intervals), this package provides both open and closed intervals and is intended to be used with Rational.

Changes in 0.4.0

  • add simplestRationalWithin :: RealFrac r => Interval r -> Maybe Rational