mx-state-codes: ISO 3166-2:MX State Codes and Names

[ bsd3, data, library ] [ Propose Tags ]

This package contains a Code data type containing each Mexican State, as well as functions for converting from and to the English subdivision names.

[Skip to Readme]
Versions [RSS] [faq]
Change log
Dependencies aeson (>=1 && <3), base (>=4.7 && <5), text (==1.*) [details]
License BSD-3-Clause
Copyright 2019, Pavan Rikhi
Author Pavan Rikhi
Revised Revision 1 made by lysergia at 2021-10-15T03:09:48Z
Category Data
Home page
Bug tracker
Source repo head: git clone
Uploaded by lysergia at 2019-11-22T03:11:12Z
Distributions LTSHaskell:, NixOS:, Stackage:
Downloads 412 total (20 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2019-11-22 [all 1 reports]


[Index] [Quick Jump]


Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees


Readme for mx-state-codes-

[back to package description]

ISO 3166-2:MX State Codes

Build Status

This is a Haskell package that provides a data type for Mexican ISO 3166-2 State codes, as well as functions for converting codes into their English subdivision names.


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 ca-province-codes package which is based off of the state-codes and iso3166-country-codes packages.


BSD-3, exceptions available.