ca-province-codes: ISO 3166-2:CA Province Codes and Names

[ bsd3, data, library ] [ Propose Tags ]

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.


[Skip to Readme]
Versions [faq] 1.0.0.0
Change log CHANGELOG.md
Dependencies aeson (==1.*), base (>=4.7 && <5), text (==1.*) [details]
License BSD-3-Clause
Copyright 2019, Pavan Rikhi
Author Pavan Rikhi
Maintainer pavan.rikhi@gmail.com
Category Data
Home page https://github.com/prikhi/ca-province-codes#readme
Bug tracker https://github.com/prikhi/ca-province-codes/issues
Source repo head: git clone https://github.com/prikhi/ca-province-codes
Uploaded by lysergia at Mon Jan 28 13:32:28 UTC 2019
Distributions NixOS:1.0.0.0, Stackage:1.0.0.0
Downloads 42 total (42 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2019-01-28 [all 1 reports]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for ca-province-codes-1.0.0.0

[back to package description]

ISO 3166-2:CA Province/Territory Codes

Build Status

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.