bcp47-0.2.0.6: Language tags as specified by BCP 47
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.BCP47.Internal.LanguageExtension

Synopsis

Documentation

newtype LanguageExtension Source #

Extended language subtags

These are used to identify certain specially selected languages that, for various historical and compatibility reasons, are closely identified with or tagged using an existing primary language subtag.

Constructors

LanguageExtension Text 

languageExtensionP :: Parsec Void Text LanguageExtension Source #

BCP-47 language extension parser

This only implements the ISO 639 portion of the ISO.

@ extlang = 3ALPHA ; selected ISO 639 codes *2("-" 3ALPHA) ; permanently reserved @