on master help sign in
Remove redundant -W flags from source code
bb5d079Evan Czaplicki
src/AST/Annotation.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -W #-}
2module AST.Annotation where
1module AST.Annotation where
3
2
4import qualified Text.Parsec.Pos as Parsec
3import qualified Text.Parsec.Pos as Parsec
src/AST/Module.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -W #-}
2module AST.Module where
1module AST.Module where
3
2
4import Data.Binary
3import Data.Binary
src/AST/Type.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -W #-}
2module AST.Type where
1module AST.Type where
3
2
4import Control.Applicative ((<$>), (<*>))
3import Control.Applicative ((<$>), (<*>))
src/AST/Variable.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -W #-}
2module AST.Variable where
1module AST.Variable where
3
2
4import Control.Applicative ((<$>), (<*>))
3import Control.Applicative ((<$>), (<*>))
src/Build/Source.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -W #-}
2module Build.Source (build) where
1module Build.Source (build) where
3
2
4import qualified Data.Map as Map
3import qualified Data.Map as Map
src/Docs.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -W #-}
2{-# LANGUAGE OverloadedStrings, DeriveDataTypeable #-}
1{-# LANGUAGE OverloadedStrings, DeriveDataTypeable #-}
3module Main where
2module Main where
4
3
src/Generate/Cases.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -W #-}
2module Generate.Cases (toMatch, Match (..), Clause (..), matchSubst, newVar) where
1module Generate.Cases (toMatch, Match (..), Clause (..), matchSubst, newVar) where
3
2
4import Control.Applicative ((<$>))
3import Control.Applicative ((<$>))
src/Generate/JavaScript.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -W #-}
2module Generate.JavaScript (generate) where
1module Generate.JavaScript (generate) where
3
2
4import Control.Applicative ((<$>),(<*>))
3import Control.Applicative ((<$>),(<*>))
src/Generate/JavaScript/Helpers.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -W #-}
2module Generate.JavaScript.Helpers where
1module Generate.JavaScript.Helpers where
3
2
4import AST.Annotation (Region)
3import AST.Annotation (Region)
src/Generate/JavaScript/Ports.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -W #-}
2module Generate.JavaScript.Ports (incoming, outgoing) where
1module Generate.JavaScript.Ports (incoming, outgoing) where
3
2
4import Generate.JavaScript.Helpers
3import Generate.JavaScript.Helpers
src/Generate/JavaScript/Variable.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -W #-}
2module Generate.JavaScript.Variable where
1module Generate.JavaScript.Variable where
3
2
4import qualified AST.Helpers as Help
3import qualified AST.Helpers as Help
src/Metadata/Prelude.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -W #-}
2{-# LANGUAGE FlexibleContexts #-}
1{-# LANGUAGE FlexibleContexts #-}
3module Metadata.Prelude (add) where
2module Metadata.Prelude (add) where
4
3
src/Parse/Binop.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -W #-}
2module Parse.Binop (binops, OpTable) where
1module Parse.Binop (binops, OpTable) where
3
2
4import Control.Applicative ((<$>))
3import Control.Applicative ((<$>))
src/Parse/Helpers.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -W #-}
2module Parse.Helpers where
1module Parse.Helpers where
3
2
4import Prelude hiding (until)
3import Prelude hiding (until)
src/Parse/Literal.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -W #-}
2module Parse.Literal (literal) where
1module Parse.Literal (literal) where
3
2
4import Control.Applicative ((<$>))
3import Control.Applicative ((<$>))
src/Parse/Parse.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -W #-}
2module Parse.Parse (program) where
1module Parse.Parse (program) where
3
2
4import Control.Applicative ((<$>))
3import Control.Applicative ((<$>))
src/Parse/Pattern.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -W #-}
2module Parse.Pattern (term, expr) where
1module Parse.Pattern (term, expr) where
3
2
4import Control.Applicative ((<$>))
3import Control.Applicative ((<$>))
src/Transform/Canonicalize.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -W #-}
2module Transform.Canonicalize (module') where
1module Transform.Canonicalize (module') where
3
2
4import Control.Applicative ((<$>),(<*>))
3import Control.Applicative ((<$>),(<*>))
src/Transform/Interface.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -W #-}
2module Transform.Interface (filterExports) where
1module Transform.Interface (filterExports) where
3
2
4import qualified Data.Map as Map
3import qualified Data.Map as Map
src/Type/Constrain/Expression.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -W #-}
2module Type.Constrain.Expression where
1module Type.Constrain.Expression where
3
2
4import Control.Applicative ((<$>))
3import Control.Applicative ((<$>))
src/Type/Constrain/Literal.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -W #-}
2module Type.Constrain.Literal where
1module Type.Constrain.Literal where
3
2
4import AST.Annotation
3import AST.Annotation
src/Type/Constrain/Pattern.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -W #-}
2{-# LANGUAGE FlexibleInstances #-}
1{-# LANGUAGE FlexibleInstances #-}
3module Type.Constrain.Pattern where
2module Type.Constrain.Pattern where
4
3
src/Type/Environment.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -W #-}
2module Type.Environment where
1module Type.Environment where
3
2
4import Control.Applicative ((<$>), (<*>))
3import Control.Applicative ((<$>), (<*>))
src/Type/Inference.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -W #-}
2module Type.Inference where
1module Type.Inference where
3
2
4import qualified Data.Map as Map
3import qualified Data.Map as Map
src/Type/Solve.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -W #-}
2module Type.Solve (solve) where
1module Type.Solve (solve) where
3
2
4import Control.Monad
3import Control.Monad
src/Type/State.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -W #-}
2module Type.State where
1module Type.State where
3
2
4import Control.Applicative ( (<$>), (<*>), Applicative, (<|>) )
3import Control.Applicative ( (<$>), (<*>), Applicative, (<|>) )
src/Type/Type.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -W #-}
2module Type.Type where
1module Type.Type where
3
2
4import qualified Data.Char as Char
3import qualified Data.Char as Char
src/Type/Unify.hs−1
@@ -1,4 +1,3 @@
1−{-# OPTIONS_GHC -W #-}
2module Type.Unify (unify) where
1module Type.Unify (unify) where
3
2
4import Control.Applicative ((<|>))
3import Control.Applicative ((<|>))