dollaridoos: A newtype for monetary values

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]

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


[Skip to Readme]

Properties

Versions 0.1.0.0, 0.2.0.0, 0.2.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 https://github.com/qfpl/dollaridoos.git
Uploaded by frasertweedale at 2025-06-02T02:11:04Z

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Readme for dollaridoos-0.2.0.0

[back to package description]

Dollaridoos

CSIRO's Data61 Logo

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.