BSD-3-Clause licensed by Edward A. Kmett
Maintained by Edward A. Kmett
This version can be pinned in stack with:approximate-0.3.1@sha256:6da6aa40abb8732a03649fbc3da735f371f22ce11d72fc7d7dec0532d79c2d70,2720

Module documentation for 0.3.1

  • Data
    • Data.Approximate
      • Data.Approximate.Mass
      • Data.Approximate.Numerics
      • Data.Approximate.Type


Hackage Build Status

This package provides approximate numbers and discrete values with lower bounds on their probability of correctness.

Contact Information

Contributions and bug reports are welcome!

Please feel free to contact me through github or on the #haskell IRC channel on

-Edward Kmett



  • Add a library dependency on the doctests test suite


  • Replace use of Hashable1 from hashable-extras in favor of Hashable from hashable- As a result, the hashable-extras dependency has been removed.
  • Revamp Setup.hs to use cabal-doctest. This makes it build with Cabal-2.0, and makes the doctests work with cabal new-build and sandboxes.

  • Added support for safecopy 0.9 and cereal 0.5

  • Compiles warning-free on GHC 7.10

  • Bumped cereal bounds


  • Removed the data-default dependency
  • Increased range of supported versions of generic-deriving.


  • Ported Data.Approximate.Numerics from analytics


  • Ported Data.Approximate.Type and Data.Approximate.Mass from analytics