country: Country data type and functions
country library provides a data type for dealing with
the set of countries as defined by ISO 3166. The representation
is compact and is well-suited to use with vectors and
primitive arrays. Additionally, this library exports functions
that provide the following encodings and decodings:
ISO Alpha-2 (two-letter country code)
ISO Alpha-3 (three-letter country code)
ISO Numeric (three-digit country code)
The main differences between this library and `iso3166-country-codes` are:
it doesn't use an ADT to represent countries, instead it uses the country's three-digit country code.
it doesn't use
it provides two-alpha and three-alpha country codes.
Priminstances from the
primitivepackage to allow types to be used in unboxed vectors/arrays.
BSD3 licence instead of LGPL
Please open up an issue on github if there is anything you would like to see added.
[Skip to Readme]
|Versions [RSS] [faq]||0.1, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.5, 0.1.6, 0.2, 0.2.1|
|Dependencies||aeson (>=0.11 && <1.6), attoparsec (==0.13.*), base (>=22.214.171.124 && <4.15), bytestring (==0.10.*), deepseq (>=126.96.36.199 && <1.5), hashable (>=1.2 && <1.4), primitive (>=0.6.4 && <0.8), scientific (==0.3.*), text (==1.2.*), unordered-containers (==0.2.*) [details]|
|Copyright||2017 Andrew Martin|
|Source repo||head: git clone https://github.com/andrewthad/country|
|Uploaded||by chessai at 2020-07-12T23:24:01Z|
|Downloads||5451 total (114 in the last 30 days)|
|Rating||(no votes yet) [estimated by Bayesian average]|
Docs available [build log]
Last success reported on 2020-07-12 [all 1 reports]
For package maintainers and hackage trustees
- No Candidates