Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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.