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

[ bsd3, library, money ] [ Propose Tags ]

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

NOTICE that the only mandatory dependencies of this package are base, binary, constraints, deepseq and text. Except for constraints, all of them are included with a standard GHC distribution. The rest of the dependencies are OPTIONAL but enabled by default (except store which is disabled when building with GHCJS because it doesn't compile ther). All of the optional dependencies can be disabled with Cabal flags.


[Skip to Readme]

Modules

[Index]

Flags

Manual Flags

NameDescriptionDefault
aeson

Provide instances for aeson

Enabled
cereal

Provide instances for cereal

Enabled
store

Provide instances for store

Enabled
hashable

Provide instances for hashable

Enabled
serialise

Provide instances for serialise

Enabled
vector-space

Provide instances for vector-space

Enabled
xmlbf

Provide instances for xmlbf

Enabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1, 0.2, 0.3, 0.4, 0.4.1, 0.5, 0.6, 0.7, 0.7.1, 0.8, 0.8.1, 0.9, 0.9.1
Change log changelog.md
Dependencies aeson (>=0.9), base (>=4.8 && <5.0), binary, cereal (>=0.5), constraints, deepseq, hashable (>=1.2), serialise (>=0.2), store (>=0.2), text, vector-space (>=0.12), xmlbf (>=0.2) [details]
License BSD-3-Clause
Copyright Copyright (c) Renzo Carbonara 2016-2018
Author Renzo Carbonara
Maintainer renλren!zone
Category Money
Home page https://github.com/k0001/safe-money
Bug tracker https://github.com/k0001/safe-money/issues
Source repo head: git clone https://github.com/k0001/safe-money
Uploaded by RenzoCarbonara at 2018-04-22T10:11:49Z
Distributions LTSHaskell:0.9.1, NixOS:0.9.1
Reverse Dependencies 9 direct, 2 indirect [details]
Downloads 8950 total (72 in the last 30 days)
Rating 2.25 (votes: 5) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2018-04-22 [all 1 reports]

Readme for safe-money-0.6

[back to package description]

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.

You can enter a development shell with nix-shell, or build with nix build -f release.nix ghc822.safe-money (or similar, check release.nix).