Permalink
Browse files

Suppress GHC warnings

  • Loading branch information...
1 parent 5677b24 commit eb4eed848df69a88c55fdca7dde45f3ec2c15145 @singpolyma committed Oct 15, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 routeGenerator.hs
View
@@ -174,6 +174,9 @@ main = do
Right routes <- fmap (parseOnly parser) $ T.readFile input
when (Routes `elem` flags) $ do
+ -- GHC pragma turns off warnings we know about
+ -- Should be ignored by other compilers, so is safe
+ putStrLn "{-# OPTIONS_GHC -fno-warn-missing-signatures #-}"
putStrLn "module Routes where"
putStrLn ""

0 comments on commit eb4eed8

Please sign in to comment.