diff options
author | Daniel Firth <locallycompact@gmail.com> | 2018-07-04 08:59:07 +0100 |
---|---|---|
committer | Daniel Firth <locallycompact@gmail.com> | 2018-07-04 09:50:16 +0100 |
commit | f9922f2beaabecf5ab444fc958afbd814a761237 (patch) | |
tree | ccc76139ee7701bacd0f02d8265c27cab028c2d2 /GetText.hs | |
parent | f2d91509756d9ff24ed085d252e437505911d99f (diff) |
Fix hlint errors in Diagram.hs, Loader.hs, StatisticPane.hs, Stats.hs, UI.hs and
Util.hs
Diffstat (limited to 'GetText.hs')
-rw-r--r-- | GetText.hs | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -119,7 +119,7 @@ installGetTextHooks :: UserHooks -- ^ initial user hooks -> UserHooks -- ^ patched user hooks installGetTextHooks uh = uh{ confHook = \a b -> - updateLocalBuildInfo <$> (confHook uh) a b, + updateLocalBuildInfo <$> confHook uh a b, postInst = \a b c d -> postInst uh a b c d >> @@ -164,7 +164,7 @@ forBuildInfo l f = executables = updExecs (executables x)} updLibrary Nothing = Nothing updLibrary (Just x) = Just $ x{libBuildInfo = f (libBuildInfo x)} - updExecs x = map updExec x + updExecs = map updExec updExec x = x{buildInfo = f (buildInfo x)} in a @@ -200,7 +200,7 @@ findInParametersDefault :: [(String, String)] -> String -> String -> String findInParametersDefault al name def = (fromMaybe def . lookup name) al getDomainNameDefault :: [(String, String)] -> String -> String -getDomainNameDefault al d = findInParametersDefault al "x-gettext-domain-name" d +getDomainNameDefault al = findInParametersDefault al "x-gettext-domain-name" getDomainDefine :: [(String, String)] -> String getDomainDefine al = findInParametersDefault al "x-gettext-domain-def" "__MESSAGE_CATALOG_DOMAIN__" |