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 and constraints. The rest of the dependencies are OPTIONAL but enabled by default (except store which is also disabled when building with GHCJS), they can be disabled with Cabal flags.


[Skip to Readme]

Modules

[Index]

Flags

Manual Flags

NameDescriptionDefault
aeson

Provide instances for aeson

Enabled
binary

Provide instances for binary

Enabled
cereal

Provide instances for cereal

Enabled
store

Provide instances for store

Enabled
deepseq

Provide instances for deepseq

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 (>=0.7), cereal (>=0.5), constraints, deepseq (>=1.4), 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-18T17:58:06Z
Distributions LTSHaskell:0.9.1, NixOS:0.9.1, Stackage:0.9.1
Reverse Dependencies 9 direct, 3 indirect [details]
Downloads 9374 total (77 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-18 [all 1 reports]

Readme for safe-money-0.5

[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).