diff options
| author | Ian Lynagh <igloo@earth.li> | 2007-09-01 11:21:30 +0000 |
|---|---|---|
| committer | Ian Lynagh <igloo@earth.li> | 2007-09-01 11:21:30 +0000 |
| commit | 17b297d97d327620ed6bfab942f8992b2446f1bf (patch) | |
| tree | c84753f3bbbc9a1f0a262abfad5ddcf9d5b6271b /compiler/deSugar | |
| parent | e11fa7a5e0025460df3b8562ccbf3ffd1db68d5d (diff) | |
| download | haskell-17b297d97d327620ed6bfab942f8992b2446f1bf.tar.gz | |
Add {-# OPTIONS_GHC -w #-} and some blurb to all compiler modules
Diffstat (limited to 'compiler/deSugar')
| -rw-r--r-- | compiler/deSugar/Check.lhs | 7 | ||||
| -rw-r--r-- | compiler/deSugar/Coverage.lhs | 7 | ||||
| -rw-r--r-- | compiler/deSugar/Desugar.lhs | 7 | ||||
| -rw-r--r-- | compiler/deSugar/DsArrows.lhs | 7 | ||||
| -rw-r--r-- | compiler/deSugar/DsBinds.lhs | 7 | ||||
| -rw-r--r-- | compiler/deSugar/DsCCall.lhs | 7 | ||||
| -rw-r--r-- | compiler/deSugar/DsExpr.lhs | 7 | ||||
| -rw-r--r-- | compiler/deSugar/DsForeign.lhs | 7 | ||||
| -rw-r--r-- | compiler/deSugar/DsGRHSs.lhs | 7 | ||||
| -rw-r--r-- | compiler/deSugar/DsListComp.lhs | 7 | ||||
| -rw-r--r-- | compiler/deSugar/DsMeta.hs | 6 | ||||
| -rw-r--r-- | compiler/deSugar/DsMonad.lhs | 7 | ||||
| -rw-r--r-- | compiler/deSugar/DsUtils.lhs | 7 | ||||
| -rw-r--r-- | compiler/deSugar/Match.lhs | 7 | ||||
| -rw-r--r-- | compiler/deSugar/MatchCon.lhs | 7 | ||||
| -rw-r--r-- | compiler/deSugar/MatchLit.lhs | 7 |
16 files changed, 111 insertions, 0 deletions
diff --git a/compiler/deSugar/Check.lhs b/compiler/deSugar/Check.lhs index 32b47b6b04..5c90aa473e 100644 --- a/compiler/deSugar/Check.lhs +++ b/compiler/deSugar/Check.lhs @@ -5,6 +5,13 @@ % Author: Juan J. Quintela <quintela@krilin.dc.fi.udc.es> \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 Check ( check , ExhaustivePat ) where #include "HsVersions.h" diff --git a/compiler/deSugar/Coverage.lhs b/compiler/deSugar/Coverage.lhs index f2ad77c86a..54304f7d7c 100644 --- a/compiler/deSugar/Coverage.lhs +++ b/compiler/deSugar/Coverage.lhs @@ -5,6 +5,13 @@ \section[Coverage]{@coverage@: the main function} \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 Coverage (addCoverageTicksToBinds) where #include "HsVersions.h" diff --git a/compiler/deSugar/Desugar.lhs b/compiler/deSugar/Desugar.lhs index 45eeff497a..f7407394ba 100644 --- a/compiler/deSugar/Desugar.lhs +++ b/compiler/deSugar/Desugar.lhs @@ -6,6 +6,13 @@ The Desugarer: turning HsSyn into Core. \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 Desugar ( deSugar, deSugarExpr ) where #include "HsVersions.h" diff --git a/compiler/deSugar/DsArrows.lhs b/compiler/deSugar/DsArrows.lhs index c44ed59243..e8198726e0 100644 --- a/compiler/deSugar/DsArrows.lhs +++ b/compiler/deSugar/DsArrows.lhs @@ -6,6 +6,13 @@ Desugaring arrow commands \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 DsArrows ( dsProcExpr ) where #include "HsVersions.h" diff --git a/compiler/deSugar/DsBinds.lhs b/compiler/deSugar/DsBinds.lhs index 0469b48d2f..82c945573d 100644 --- a/compiler/deSugar/DsBinds.lhs +++ b/compiler/deSugar/DsBinds.lhs @@ -10,6 +10,13 @@ in that the @Rec@/@NonRec@/etc structure is thrown away (whereas at lower levels it is preserved with @let@/@letrec@s). \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 DsBinds ( dsTopLHsBinds, dsLHsBinds, decomposeRuleLhs, dsCoercion, AutoScc(..) diff --git a/compiler/deSugar/DsCCall.lhs b/compiler/deSugar/DsCCall.lhs index 5bcea3ccd4..7148071a5c 100644 --- a/compiler/deSugar/DsCCall.lhs +++ b/compiler/deSugar/DsCCall.lhs @@ -6,6 +6,13 @@ Desugaring foreign calls \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 DsCCall ( dsCCall , mkFCall diff --git a/compiler/deSugar/DsExpr.lhs b/compiler/deSugar/DsExpr.lhs index 34a3a202bc..693fbdd0cf 100644 --- a/compiler/deSugar/DsExpr.lhs +++ b/compiler/deSugar/DsExpr.lhs @@ -6,6 +6,13 @@ Desugaring exporessions. \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 DsExpr ( dsExpr, dsLExpr, dsLocalBinds, dsValBinds, dsLit ) where #include "HsVersions.h" diff --git a/compiler/deSugar/DsForeign.lhs b/compiler/deSugar/DsForeign.lhs index ea264abd04..fd37a66a37 100644 --- a/compiler/deSugar/DsForeign.lhs +++ b/compiler/deSugar/DsForeign.lhs @@ -6,6 +6,13 @@ Desugaring foreign declarations (see also DsCCall). \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 DsForeign ( dsForeigns ) where #include "HsVersions.h" diff --git a/compiler/deSugar/DsGRHSs.lhs b/compiler/deSugar/DsGRHSs.lhs index 4e3dd2d15c..b64285971d 100644 --- a/compiler/deSugar/DsGRHSs.lhs +++ b/compiler/deSugar/DsGRHSs.lhs @@ -6,6 +6,13 @@ Matching guarded right-hand-sides (GRHSs) \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 DsGRHSs ( dsGuarded, dsGRHSs ) where #include "HsVersions.h" diff --git a/compiler/deSugar/DsListComp.lhs b/compiler/deSugar/DsListComp.lhs index a98aef6b3a..a1133e8398 100644 --- a/compiler/deSugar/DsListComp.lhs +++ b/compiler/deSugar/DsListComp.lhs @@ -6,6 +6,13 @@ Desugaring list comprehensions and array comprehensions \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 DsListComp ( dsListComp, dsPArrComp ) where #include "HsVersions.h" diff --git a/compiler/deSugar/DsMeta.hs b/compiler/deSugar/DsMeta.hs index 83eff557bf..983c3ea028 100644 --- a/compiler/deSugar/DsMeta.hs +++ b/compiler/deSugar/DsMeta.hs @@ -13,6 +13,12 @@ -- a Royal Pain (triggers other recompilation). ----------------------------------------------------------------------------- +{-# 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 DsMeta( dsBracket, templateHaskellNames, qTyConName, nameTyConName, diff --git a/compiler/deSugar/DsMonad.lhs b/compiler/deSugar/DsMonad.lhs index a38b291bc8..4af6f68ed6 100644 --- a/compiler/deSugar/DsMonad.lhs +++ b/compiler/deSugar/DsMonad.lhs @@ -6,6 +6,13 @@ @DsMonad@: monadery used in desugaring \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 DsMonad ( DsM, mappM, mapAndUnzipM, initDs, initDsTc, returnDs, thenDs, listDs, fixDs, mapAndUnzipDs, diff --git a/compiler/deSugar/DsUtils.lhs b/compiler/deSugar/DsUtils.lhs index 3f340911e7..6d2b2c6584 100644 --- a/compiler/deSugar/DsUtils.lhs +++ b/compiler/deSugar/DsUtils.lhs @@ -8,6 +8,13 @@ Utilities for desugaring This module exports some utility functions of no great interest. \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 DsUtils ( EquationInfo(..), firstPat, shiftEqns, diff --git a/compiler/deSugar/Match.lhs b/compiler/deSugar/Match.lhs index ca18706f22..21818a227e 100644 --- a/compiler/deSugar/Match.lhs +++ b/compiler/deSugar/Match.lhs @@ -6,6 +6,13 @@ The @match@ function \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 Match ( match, matchEquations, matchWrapper, matchSimply, matchSinglePat ) where #include "HsVersions.h" diff --git a/compiler/deSugar/MatchCon.lhs b/compiler/deSugar/MatchCon.lhs index ed9f2c1204..bd4a9b77ed 100644 --- a/compiler/deSugar/MatchCon.lhs +++ b/compiler/deSugar/MatchCon.lhs @@ -6,6 +6,13 @@ Pattern-matching 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 MatchCon ( matchConFamily ) where #include "HsVersions.h" diff --git a/compiler/deSugar/MatchLit.lhs b/compiler/deSugar/MatchLit.lhs index 50fec2fd12..c8e8e6239f 100644 --- a/compiler/deSugar/MatchLit.lhs +++ b/compiler/deSugar/MatchLit.lhs @@ -6,6 +6,13 @@ Pattern-matching literal patterns \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 MatchLit ( dsLit, dsOverLit, hsLitKey, hsOverLitKey, tidyLitPat, tidyNPat, matchLiterals, matchNPlusKPats, matchNPats ) where |
