| Safe Haskell | Trustworthy |
|---|---|
| Language | Haskell2010 |
Language.Fluent.TH
Contents
Synopsis
- fluent :: QuasiQuoter
- messageIdentifiers :: FilePath -> DecsQ
Documentation
fluent :: QuasiQuoter Source #
Parses a Resource.
Strips the indentation shared by every line.
messageIdentifiers :: FilePath -> DecsQ Source #
Declares a constant for every message identifier in the given Fluent file.
messageIdentifiers "en.ftl"
declares, for the message text-field-intro,
textFieldIntro :: (IsString s) => s textFieldIntro = "text-field-intro"