You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the package includes only 'active' currencies, but ISO 4217 used to contain other codes as well (i.e. BYR, which was removed in 2016), which we still may want to parse and/or represent in systems dealing with old payment information. It would be nice to include those as well, maybe with some sort of checking function stating that it is outdated.
The text was updated successfully, but these errors were encountered:
This information could be encoded in the type representation itself ?
--| Actual representation of a currencydataCurrency=Currency{alpha::Alpha--^ Alpha Code
, numeric::Int--^ Numeric code
, minor::Int--^ Number of decimal units
, name::Text--^ English name
, active::Bool--^ True if the currency is still in circulation}deriving (Show, Eq, Read, Generic, Data, Typeable)
Currently the package includes only 'active' currencies, but ISO 4217 used to contain other codes as well (i.e. BYR, which was removed in 2016), which we still may want to parse and/or represent in systems dealing with old payment information. It would be nice to include those as well, maybe with some sort of checking function stating that it is outdated.
The text was updated successfully, but these errors were encountered: