Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Documentation
IBANInvalidCharacters | The IBAN string contains invalid characters. |
IBANInvalidStructure | The IBAN string has the wrong structure. |
IBANWrongChecksum | The checksum does not match. |
IBANInvalidCountry Text | The country identifier is either not a valid ISO3166-1 identifier or that country does not issue IBANs. |
country :: IBAN -> CountryCode Source
Get the country of the IBAN
prettyIBAN :: IBAN -> Text Source
show a IBAN in 4-blocks