diff options
author | Yann Herklotz <git@yannherklotz.com> | 2019-06-05 13:52:20 +0100 |
---|---|---|
committer | Yann Herklotz <git@yannherklotz.com> | 2019-06-05 13:52:27 +0100 |
commit | 720fa7a822a077458cf0b29e9dcdc754a881e8bd (patch) | |
tree | fa00db795c17bba78b02de2823c1092fae1d81ec /src/VeriFuzz/Config.hs | |
parent | f3268d934a9a2b01633b5f7a3353d1a97c40a9df (diff) | |
download | verismith-720fa7a822a077458cf0b29e9dcdc754a881e8bd.tar.gz verismith-720fa7a822a077458cf0b29e9dcdc754a881e8bd.zip |
Format all files
Diffstat (limited to 'src/VeriFuzz/Config.hs')
-rw-r--r-- | src/VeriFuzz/Config.hs | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/VeriFuzz/Config.hs b/src/VeriFuzz/Config.hs index dd61d31..19cdd68 100644 --- a/src/VeriFuzz/Config.hs +++ b/src/VeriFuzz/Config.hs @@ -380,12 +380,14 @@ propCodec = .= _propModDepth <*> defaultValue (defProp propMaxModules) (int "module" "max") .= _propMaxModules - <*> defaultValue (defProp propSampleMethod) (Toml.text (twoKey "sample" "method")) - .= _propSampleMethod + <*> defaultValue (defProp propSampleMethod) + (Toml.text (twoKey "sample" "method")) + .= _propSampleMethod <*> defaultValue (defProp propSampleSize) (int "sample" "size") - .= _propSampleSize - <*> defaultValue (defProp propCombine) (Toml.bool (twoKey "output" "combine")) - .= _propCombine + .= _propSampleSize + <*> defaultValue (defProp propCombine) + (Toml.bool (twoKey "output" "combine")) + .= _propCombine where defProp i = defaultConfig ^. configProperty . i simulator :: TomlCodec SimDescription |