{-# LANGUAGE DeriveDataTypeable, RecordWildCards #-}
{-# OPTIONS_GHC -Wall #-}

import System.IO
import System.Environment (getArgs, withArgs)
import System.Console.CmdArgs (cmdArgsRun)
import NGramCrackers.NGramCrackers
import NGramCrackers.ArgParser
import NGramCrackers.TupleManipulation
import NGramCrackers.ParagraphParsers

main :: IO ()
main = getArgs >>= \args ->  
       (if null args then withArgs ["--help"] else id) $ cmdArgsRun myModes >>= optionHandler


{-# LANGUAGE DeriveDataTypeable, RecordWildCards #-}
{-# OPTIONS_GHC -Wall -O2 #-}

import System.IO
import System.Environment (getArgs, withArgs)
import System.Console.CmdArgs (cmdArgsRun)
import NGramCrackers.NGramCrackers
import NGramCrackers.ArgParser
import NGramCrackers.TupleManipulation
import NGramCrackers.ParagraphParsers

main :: IO ()
main = getArgs >>= \args ->  
       (if null args then withArgs ["--help"] else id) $ cmdArgsRun myModes >>= optionHandler


Add -O2 flag to compiler options
Add -O2 flag to compiler options
