Description
ISO 3166-2:CA Province Codes and Names.
Description
This package contains a Code
data type containing each Canadian Province and Territory, as well as functions for converting from and to the English subdivision names.
README.md
ISO 3166-2:CA Province/Territory Codes
This is a Haskell package that provides a data type for Canadian ISO 3166-2 Province and Territory codes, as well as functions for converting codes into their English subdivision names.
Building
Use stack
to build this for local development:
stack build --pedantic --test --haddock --file-watch
Prior Art
The API for this package is based off of the state-codes and iso3166-country-codes packages.
License
BSD-3, exceptions available.