aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/BCP47.hs
AgeCommit message (Collapse)AuthorFilesLines
2017-06-26parseBCP47: Parse extensions and private-use as variants.John MacFarlane1-4/+20
Even though officially they aren't. This suffices for our purposes.
2017-06-25BCP47: split toLang from getLang, rearranged types.John MacFarlane1-10/+16
2017-06-25Refactored ConTeXt writer to use BCP47.John MacFarlane1-5/+5
BCP47 - consistent case for BCP47 fields (e.g. uppercase for region).
2017-06-25Moved BCP47 specific functions from Writers.Shared to new module.John MacFarlane1-0/+117
Text.Pandoc.BCP47 (unexported, internal module). `getLang`, `Lang(..)`, `parseBCP47`.