[commit: ghc] master: Avoid redundant-import warning (w/o CPP) (c55fefc)

git at git.haskell.org git at git.haskell.org
Sat Dec 27 22:44:01 UTC 2014


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/c55fefc0f25ecd754db3f274cba3f972d603f117/ghc

>---------------------------------------------------------------

commit c55fefc0f25ecd754db3f274cba3f972d603f117
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Sat Dec 27 23:43:20 2014 +0100

    Avoid redundant-import warning (w/o CPP)


>---------------------------------------------------------------

c55fefc0f25ecd754db3f274cba3f972d603f117
 utils/genprimopcode/ParserM.hs | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/utils/genprimopcode/ParserM.hs b/utils/genprimopcode/ParserM.hs
index 4dedfa3..190ec0e 100644
--- a/utils/genprimopcode/ParserM.hs
+++ b/utils/genprimopcode/ParserM.hs
@@ -16,7 +16,10 @@ module ParserM (
     -- Other
     happyError
  ) where
+
 import Control.Applicative
+import Prelude
+
 import Control.Monad (ap, liftM)
 import Data.Word (Word8)
 import Data.Char (ord)



More information about the ghc-commits mailing list