Include a pointer to GHC.Exts in the generated GHC.Prim docs
authorIan Lynagh <igloo@earth.li>
Tue, 11 Aug 2009 14:53:00 +0000 (14:53 +0000)
committerIan Lynagh <igloo@earth.li>
Tue, 11 Aug 2009 14:53:00 +0000 (14:53 +0000)
utils/genprimopcode/Main.hs

index 10e577e..74dbd5a 100644 (file)
@@ -124,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"