@hackage currency0.2.0.0
Types representing standard and non-standard currencies
Categories
License
LicenseRef-OtherLicense
Maintainer
Stephen Paul Weber <singpolyma@singpolyma.net>
Links
Versions
Installation
Dependencies (4)
- base >=4 && <5
- containers
- hashable
- iso3166-country-codes >=0.20111111 Show all…
Dependents (2)
@hackage/acme-everything, @hackage/openexchangerates
This package provides two types for representing currencies, one that can only represent ISO4217 currencies, and one that can also represent nonstandard currencies.
An IsString instance is provided for convenience on the general type.
Instances of Eq, Ord, and, Hashable are provided for use as keys.
The Enum instance provides a mapping to/from ISO4217 numeric codes for currencies that have such a code.