This package provides the Currency singleton type, based on the ISO 4217 standard together with five methods:

  • symbol: The symbol of the currency.
  • currency: The singleton type instance for a particular currency symbol
  • name: The full name of the currency.
  • code: The ISO 4217 code for the currency.
  • unit: The minor unit, i.e. number of decimal places, for the currency.

See for the full documentation

Copyright 2019-2020, Eric Forgy, Scott P. Jones and other contributors

Licensed under MIT License, see


This is a singleton type, intended to be used as a label for dispatch purposes


Returns the ISO 4217 code associated with this value


Returns the ISO 4217 name associated with this value


Returns the minor unit associated with this value