disabling all ghc warnings and passing --disable-optimization flag to cabal