Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
fromYaml :: (YamlMapKey lang, YamlMapKey token) => ByteString -> Translations lang token Source #
replaceTranslations :: (ToReplaceToken token, Ord lang) => Translations lang token -> lang -> Text -> Maybe Text Source #
class (Eq a, Ord a, FromJSONKey a) => YamlMapKey a Source #
class (Ord a, Eq a) => ToReplaceToken a where Source #
toReplaceToken :: a -> Text Source #