Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/singpolyma/currency-haskell
Types representing standard and non-standard currencies
https://github.com/singpolyma/currency-haskell
Last synced: about 1 month ago
JSON representation
Types representing standard and non-standard currencies
- Host: GitHub
- URL: https://github.com/singpolyma/currency-haskell
- Owner: singpolyma
- License: isc
- Created: 2013-09-07T20:10:43.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2017-01-25T08:31:45.000Z (almost 8 years ago)
- Last Synced: 2024-11-17T17:50:27.142Z (about 1 month ago)
- Language: Haskell
- Homepage: http://hackage.haskell.org/package/currency
- Size: 16.6 KB
- Stars: 1
- Watchers: 4
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: COPYING
Awesome Lists containing this project
README
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.