X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Futils%2FFiniteMap.lhs;h=b3dfb2783bc1d757d9f43e3a052f7e7c32fdb5bc;hb=c54f21debd86972824443fbc874597540fff70d0;hp=8a041a8cf2055a3a419eb367ce0b12ea2904d9a6;hpb=17b297d97d327620ed6bfab942f8992b2446f1bf;p=ghc-hetmet.git diff --git a/compiler/utils/FiniteMap.lhs b/compiler/utils/FiniteMap.lhs index 8a041a8..b3dfb27 100644 --- a/compiler/utils/FiniteMap.lhs +++ b/compiler/utils/FiniteMap.lhs @@ -18,11 +18,11 @@ The code is SPECIALIZEd to various highly-desirable types (e.g., Id) near the end. \begin{code} -{-# OPTIONS_GHC -w #-} +{-# OPTIONS -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 +-- http://hackage.haskell.org/trac/ghc/wiki/Commentary/CodingStyle#Warnings -- for details module FiniteMap ( @@ -679,7 +679,7 @@ When the FiniteMap module is used in GHC, we specialise it for \begin{code} #if 0 -#if __GLASGOW_HASKELL__ +#ifdef __GLASGOW_HASKELL__ {-# SPECIALIZE addListToFM :: FiniteMap (FastString, FAST_STRING) elt -> [((FAST_STRING, FAST_STRING),elt)] -> FiniteMap (FAST_STRING, FAST_STRING) elt