Attempts to create a CurrencyCode value with the given currency code.
This function returns a Maybe value. For the version that throws an error, see mkCurrencyCodeError.
Maybe
A currency code represented as string.
If the argument has leading or trailing spaces OR it is empty, Nothing is retured, Just CurrencyCode otherwise.
Nothing
Just
Attempts to create a CurrencyCode value with the given currency code.
This function returns a
Maybe
value. For the version that throws an error, see mkCurrencyCodeError.