data-standards-0.1.0.2: A collection of standards representable by simple data types.

Safe HaskellSafe
LanguageHaskell98

Data.Standards.ISO.Country.Primary.Translation

Description

  • Description : Convert between various code formats described by ISO 3166-1.
  • Copyright : (c) 2018 Samuel May
  • License : MPL-2.0
  • Maintainer : ag.eitilt@gmail.com
  • Stability : stable
  • Portability : portable
Synopsis

Documentation

alpha2ToAlpha3 :: Alpha2 -> Maybe Alpha3 Source #

Convert an Alpha2 country code to an Alpha3.

alpha2ToNumeric :: Alpha2 -> Maybe Numeric Source #

Convert an Alpha2 country code to a Numeric.

alpha3ToAlpha2 :: Alpha3 -> Maybe Alpha2 Source #

Convert an Alpha3 country code to an Alpha2.

alpha3ToNumeric :: Alpha3 -> Maybe Numeric Source #

Convert an Alpha3 country code to a Numeric.

numericToAlpha2 :: Numeric -> Maybe Alpha2 Source #

Convert a Numeric country code to an Alpha2.

numericToAlpha3 :: Numeric -> Maybe Alpha3 Source #

Convert a Numeric country code to an Alpha3.