summaryrefslogtreecommitdiff
path: root/compiler/specialise
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2007-09-01 11:21:30 +0000
committerIan Lynagh <igloo@earth.li>2007-09-01 11:21:30 +0000
commit17b297d97d327620ed6bfab942f8992b2446f1bf (patch)
treec84753f3bbbc9a1f0a262abfad5ddcf9d5b6271b /compiler/specialise
parente11fa7a5e0025460df3b8562ccbf3ffd1db68d5d (diff)
downloadhaskell-17b297d97d327620ed6bfab942f8992b2446f1bf.tar.gz
Add {-# OPTIONS_GHC -w #-} and some blurb to all compiler modules
Diffstat (limited to 'compiler/specialise')
-rw-r--r--compiler/specialise/Rules.lhs7
-rw-r--r--compiler/specialise/SpecConstr.lhs7
-rw-r--r--compiler/specialise/Specialise.lhs7
3 files changed, 21 insertions, 0 deletions
diff --git a/compiler/specialise/Rules.lhs b/compiler/specialise/Rules.lhs
index 26a499bfeb..fbdf925a3b 100644
--- a/compiler/specialise/Rules.lhs
+++ b/compiler/specialise/Rules.lhs
@@ -4,6 +4,13 @@
\section[CoreRules]{Transformation rules}
\begin{code}
+{-# OPTIONS_GHC -w #-}
+-- The above warning supression flag is a temporary kludge.
+-- While working on this module you are encouraged to remove it and fix
+-- any warnings in the module. See
+-- http://hackage.haskell.org/trac/ghc/wiki/WorkingConventions#Warnings
+-- for details
+
module Rules (
RuleBase, emptyRuleBase, mkRuleBase, extendRuleBaseList,
unionRuleBase, pprRuleBase, ruleCheckProgram,
diff --git a/compiler/specialise/SpecConstr.lhs b/compiler/specialise/SpecConstr.lhs
index 48718affd2..c7cfad4ef5 100644
--- a/compiler/specialise/SpecConstr.lhs
+++ b/compiler/specialise/SpecConstr.lhs
@@ -4,6 +4,13 @@
\section[SpecConstr]{Specialise over constructors}
\begin{code}
+{-# OPTIONS_GHC -w #-}
+-- The above warning supression flag is a temporary kludge.
+-- While working on this module you are encouraged to remove it and fix
+-- any warnings in the module. See
+-- http://hackage.haskell.org/trac/ghc/wiki/WorkingConventions#Warnings
+-- for details
+
module SpecConstr(
specConstrProgram
) where
diff --git a/compiler/specialise/Specialise.lhs b/compiler/specialise/Specialise.lhs
index fa067429ab..bb47a97c30 100644
--- a/compiler/specialise/Specialise.lhs
+++ b/compiler/specialise/Specialise.lhs
@@ -4,6 +4,13 @@
\section[Specialise]{Stamping out overloading, and (optionally) polymorphism}
\begin{code}
+{-# OPTIONS_GHC -w #-}
+-- The above warning supression flag is a temporary kludge.
+-- While working on this module you are encouraged to remove it and fix
+-- any warnings in the module. See
+-- http://hackage.haskell.org/trac/ghc/wiki/WorkingConventions#Warnings
+-- for details
+
module Specialise ( specProgram ) where
#include "HsVersions.h"