aboutsummaryrefslogtreecommitdiffstats
path: root/src/VeriFuzz/Config.hs
diff options
context:
space:
mode:
authorYann Herklotz <git@ymhg.org>2019-04-02 14:48:53 +0100
committerYann Herklotz <git@ymhg.org>2019-04-02 14:48:53 +0100
commit1ef0455ddad821c2ddf64d451e99b8b5508c39c5 (patch)
tree38d16266885732d524781ebd31658a50f0bedf4e /src/VeriFuzz/Config.hs
parent372bcb00204d225f4b89cfed33f99a519740dc8e (diff)
downloadverismith-1ef0455ddad821c2ddf64d451e99b8b5508c39c5.tar.gz
verismith-1ef0455ddad821c2ddf64d451e99b8b5508c39c5.zip
Fix hlint hints
Diffstat (limited to 'src/VeriFuzz/Config.hs')
-rw-r--r--src/VeriFuzz/Config.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/VeriFuzz/Config.hs b/src/VeriFuzz/Config.hs
index b135c55..eefebe2 100644
--- a/src/VeriFuzz/Config.hs
+++ b/src/VeriFuzz/Config.hs
@@ -130,7 +130,7 @@ parseConfig t = case Toml.decode configCodec t of
Left (Toml.ParseError _) -> error "Config file parse error"
configEncode :: Config -> Text
-configEncode c = Toml.encode configCodec c
+configEncode = Toml.encode configCodec
configToFile :: FilePath -> Config -> IO ()
configToFile f = T.writeFile f . configEncode