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

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain] [Publish]

Warnings:

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]

Properties

Versions 0.1, 0.2, 0.3, 0.4, 0.4.1, 0.5, 0.6, 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:36Z

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


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