]> hydra-www.ietfng.org Git - dyna2/commitdiff
Strictify Main.Driver configuration fields
authorNathaniel Wesley Filardo <nwf@cs.jhu.edu>
Sun, 30 Jun 2013 06:36:49 +0000 (02:36 -0400)
committerNathaniel Wesley Filardo <nwf@cs.jhu.edu>
Sun, 30 Jun 2013 06:36:49 +0000 (02:36 -0400)
Notably, this improves handling of some invocation errors, as it forces
things earlier.

src/Dyna/Main/Driver.hs

index 246a4c0947ffa2c25b7b65fe98abad9d4e5dc37b..dddd174f3a0871055a20e3340df6f6fcd52b1128 100644 (file)
@@ -101,9 +101,9 @@ dumpOpts nos =
 ------------------------------------------------------------------------}}}
 -- DynacConfiguration                                                   {{{
 
-data DynacConfig = DynacConfig { dcfg_backend :: Backend
-                               , dcfg_dumps   :: DumpMap
-                               , dcfg_outFile :: Maybe FilePath
+data DynacConfig = DynacConfig { dcfg_backend :: !Backend
+                               , dcfg_dumps   :: !DumpMap
+                               , dcfg_outFile :: !(Maybe FilePath)
                                }