diff options
author | Yann Herklotz <git@ymhg.org> | 2019-04-02 14:48:53 +0100 |
---|---|---|
committer | Yann Herklotz <git@ymhg.org> | 2019-04-02 14:48:53 +0100 |
commit | 1ef0455ddad821c2ddf64d451e99b8b5508c39c5 (patch) | |
tree | 38d16266885732d524781ebd31658a50f0bedf4e /src/VeriFuzz/Config.hs | |
parent | 372bcb00204d225f4b89cfed33f99a519740dc8e (diff) | |
download | verismith-1ef0455ddad821c2ddf64d451e99b8b5508c39c5.tar.gz verismith-1ef0455ddad821c2ddf64d451e99b8b5508c39c5.zip |
Fix hlint hints
Diffstat (limited to 'src/VeriFuzz/Config.hs')
-rw-r--r-- | src/VeriFuzz/Config.hs | 2 |
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 |