Add instances for ExecMode and OutputMode
authorJoachim Breitner <mail@joachim-breitner.de>
Wed, 28 Jul 2010 16:18:14 +0000 (16:18 +0000)
committerJoachim Breitner <mail@joachim-breitner.de>
Wed, 28 Jul 2010 16:18:14 +0000 (16:18 +0000)
SemSyn.hs

index 40543df..4081151 100644 (file)
--- a/SemSyn.hs
+++ b/SemSyn.hs
@@ -39,8 +39,10 @@ data Config
 
 data ExecMode 
     = Normal | Shapify | ShapifyPlus | Help | Debug 
+    deriving (Eq, Read, Show)
 
 data OutputMode = PseudoCode | HaskellCode | ForwardCode
+    deriving (Eq, Read, Show)
 
 defaultConfig = Config { 
                   inputFile   = Nothing,