X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2FbasicTypes%2FUnique.lhs;h=1926f5c68b54d7198be63d9141cde23b6806ce19;hb=cc51a698c0938edaa3ccc95db19150bbaec6f795;hp=9c2332194b1d369d6c28f7e9507ce0eb7ffe8a5a;hpb=17b297d97d327620ed6bfab942f8992b2446f1bf;p=ghc-hetmet.git diff --git a/compiler/basicTypes/Unique.lhs b/compiler/basicTypes/Unique.lhs index 9c23321..1926f5c 100644 --- a/compiler/basicTypes/Unique.lhs +++ b/compiler/basicTypes/Unique.lhs @@ -16,11 +16,11 @@ Some of the other hair in this code is to be able to use a Haskell). \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 Unique ( @@ -58,7 +58,6 @@ module Unique ( #include "HsVersions.h" import BasicTypes -import PackageConfig import FastString import Outputable @@ -155,9 +154,6 @@ x `hasKey` k = getUnique x == k instance Uniquable FastString where getUnique fs = mkUniqueGrimily (I# (uniqueOfFS fs)) -instance Uniquable PackageId where - getUnique pid = getUnique (packageIdFS pid) - instance Uniquable Int where getUnique i = mkUniqueGrimily i \end{code}