Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/prikhi/ca-province-codes

ISO 3166-2:CA Province Codes and Names
https://github.com/prikhi/ca-province-codes

canada haskell iso3166-2

Last synced: 3 months ago
JSON representation

ISO 3166-2:CA Province Codes and Names

Awesome Lists containing this project

README

        

# ISO 3166-2:CA Province/Territory Codes

[![Build Status](https://travis-ci.org/prikhi/ca-province-codes.svg?branch=master)](https://travis-ci.org/prikhi/ca-province-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:

```sh
stack build --pedantic --test --haddock --file-watch
```

## Prior Art

The API for this package is based off of the
[state-codes](https://hackage.haskell.org/package/state-codes) and
[iso3166-country-codes](https://hackage.haskell.org/package/iso3166-country-codes)
packages.

## License

BSD-3, exceptions available.