BSD-3-Clause licensed by Pavan Rikhi
Maintained by [email protected]
This version can be pinned in stack with:mx-state-codes-,1826

Module documentation for

Depends on 3 packages(full list with versions):

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.


Change Log


  • Initial package release.