Include a pointer to GHC.Exts in the generated GHC.Prim docs
[ghc-hetmet.git] / utils / genprimopcode / Main.hs
index 9a80a50..74dbd5a 100644 (file)
@@ -8,7 +8,6 @@ module Main where
 import Parser
 import Syntax
 
-import Monad
 import Char
 import List
 import System ( getArgs )
@@ -125,6 +124,8 @@ gen_hs_source (Info defaults entries) =
        ++ "-- Portability :  non-portable (GHC extensions)\n"
        ++ "--\n"
        ++ "-- GHC\'s primitive types and operations.\n"
+       ++ "-- Use GHC.Exts from the base package instead of importing this\n"
+       ++ "-- module directly.\n"
        ++ "--\n" 
        ++ "-----------------------------------------------------------------------------\n"
        ++ "module GHC.Prim (\n"