dollaridoos: A newtype for monetary values

[ bsd3, finance, library ] [ Propose Tags ]

A newtype for money with appropriate operations defined and no nonsensical instances


[Skip to Readme]
Versions 0.1.0.0
Change log CHANGELOG.md
Dependencies base (>=4.5 && <5), profunctors (>=4 && <6), semigroups (>=0.8.4 && <1) [details]
License BSD-3-Clause
Copyright Copyright (c) 2017, Commonwealth Scientific and Industrial Research Organisation (CSIRO) ABN 41 687 119 230.
Author George Wilson
Maintainer george@wils.online
Category Finance
Home page https://github.com/qfpl/dollaridoos
Bug tracker https://github.com/qfpl/dollaridoos/issues
Source repo head: git clone git://github.com/qfpl/dollaridoos.git
Uploaded by GeorgeWilson at Tue Sep 19 07:25:05 UTC 2017
Distributions NixOS:0.1.0.0
Downloads 234 total (16 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2017-09-19 [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for dollaridoos-0.1.0.0

[back to package description]

Dollaridoos

Data61

Build Status

The money library provides a typesafe wrapper around numeric types that allows only those operations which are sensible in the context of monetary sums. For instance, adding two monetary values together makes sense, but multiplying money by money doesn't make any sense. Functions are also provided to multiply money by constants, among other things.