bcp47-0.1.0.0: Language tags as specified by BCP 47

Safe HaskellNone
LanguageHaskell2010

Data.BCP47.Internal.Variant

Synopsis

Documentation

newtype Variant Source #

Variant subtags

Variant subtags are used to indicate additional, well-recognized variations that define a language or its dialects that are not covered by other available subtags.

Constructors

Variant Text 
Instances
Eq Variant Source # 
Instance details

Defined in Data.BCP47.Internal.Variant

Methods

(==) :: Variant -> Variant -> Bool #

(/=) :: Variant -> Variant -> Bool #

Ord Variant Source # 
Instance details

Defined in Data.BCP47.Internal.Variant

Show Variant Source # 
Instance details

Defined in Data.BCP47.Internal.Variant

Arbitrary Variant Source # 
Instance details

Defined in Data.BCP47.Internal.Variant

variantP :: Parsec Void Text Variant Source #

BCP-47 variant parser

@ variant = 5*8alphanum ; registered variants / (DIGIT 3alphanum) @