Type-safe and lossless encoding and manipulation of money, fiat currencies, crypto currencies and precious metals.

Latest on Hackage:0.3

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow to host generated Haddocks.

BSD3 licensed by Renzo Carbonara
Maintained by renĪ»ren!zone

The Haskell safe-money library offers type-safe and lossless encoding and operations for monetary values in all world currencies, including fiat currencies, precious metals and crypto-currencies.


Version 0.3

  • BREAKING CHANGE: The Data.Money module was renamed to Money.

  • BREAKING CHANGE: The Data.Money.Internal module is not exposed anymore. All of its contents are now exported from the Money module.

  • BREAKING CHANGE: Renamed discreteRep to toDiscreteRep.

  • BREAKING CHANGE: Renamed denseRep to toDenseRep.

  • BREAKING CHANGE: Renamed exchangeRateRep to toExchangeRateRep.

  • BREAKING CHANGE: Renamed Iceleandic currency "eyir" to "eyrir"

  • Remove upper bound constraints from all dependencies except base.

  • Made dependency on store optional for the test suite, so that it can run on GHCJS.

Version 0.2

  • Cabal flags are now manual (aeson, binary, bytes, cereal, deepseq, hashable).

  • Backwards compatibility with GHC 7.10.

  • Fix Store instances and test them.

Version 0.1

  • Initial release.
comments powered byDisqus