summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Palka <patrick@parcs.ath.cx>2013-11-08 17:27:50 -0500
committerPatrick Palka <patrick@parcs.ath.cx>2013-11-12 21:55:45 -0500
commit117b6b8d8088ff237fc72f75e290fc30207e7bed (patch)
tree48461535f1f4e912150129fb6afafb1d65626dd0
parent9156be566e902d6997e09208826846c441cd6f41 (diff)
downloadhaskell-117b6b8d8088ff237fc72f75e290fc30207e7bed.tar.gz
Remove unnecessary and deprecated inclusions of Typeable.h
The build system would've complained loudly about these inclusions if it weren't for #8527.
-rw-r--r--compiler/basicTypes/Module.lhs2
-rw-r--r--compiler/basicTypes/Name.lhs2
-rw-r--r--compiler/basicTypes/NameSet.lhs1
-rw-r--r--compiler/basicTypes/OccName.lhs2
-rw-r--r--compiler/basicTypes/SrcLoc.lhs2
-rw-r--r--compiler/basicTypes/Var.lhs1
-rw-r--r--compiler/types/Class.lhs1
-rw-r--r--compiler/utils/Bag.lhs2
8 files changed, 0 insertions, 13 deletions
diff --git a/compiler/basicTypes/Module.lhs b/compiler/basicTypes/Module.lhs
index 27d3c524c2..f9e7942a45 100644
--- a/compiler/basicTypes/Module.lhs
+++ b/compiler/basicTypes/Module.lhs
@@ -73,8 +73,6 @@ module Module
emptyModuleSet, mkModuleSet, moduleSetElts, extendModuleSet, elemModuleSet
) where
-#include "Typeable.h"
-
import Config
import Outputable
import Unique
diff --git a/compiler/basicTypes/Name.lhs b/compiler/basicTypes/Name.lhs
index 55edc8d505..8233039c0f 100644
--- a/compiler/basicTypes/Name.lhs
+++ b/compiler/basicTypes/Name.lhs
@@ -70,8 +70,6 @@ module Name (
module OccName
) where
-#include "Typeable.h"
-
import {-# SOURCE #-} TypeRep( TyThing )
import {-# SOURCE #-} PrelNames( liftedTypeKindTyConKey )
diff --git a/compiler/basicTypes/NameSet.lhs b/compiler/basicTypes/NameSet.lhs
index f65fe8b009..ed42c2b1aa 100644
--- a/compiler/basicTypes/NameSet.lhs
+++ b/compiler/basicTypes/NameSet.lhs
@@ -37,7 +37,6 @@ module NameSet (
) where
#include "HsVersions.h"
-#include "Typeable.h"
import Name
import UniqSet
diff --git a/compiler/basicTypes/OccName.lhs b/compiler/basicTypes/OccName.lhs
index 9ec57d412d..75858073c9 100644
--- a/compiler/basicTypes/OccName.lhs
+++ b/compiler/basicTypes/OccName.lhs
@@ -105,8 +105,6 @@ module OccName (
startsVarSym, startsVarId, startsConSym, startsConId
) where
-#include "Typeable.h"
-
import Util
import Unique
import BasicTypes
diff --git a/compiler/basicTypes/SrcLoc.lhs b/compiler/basicTypes/SrcLoc.lhs
index cfd846a560..d53ac2b0ea 100644
--- a/compiler/basicTypes/SrcLoc.lhs
+++ b/compiler/basicTypes/SrcLoc.lhs
@@ -74,8 +74,6 @@ module SrcLoc (
spans, isSubspanOf, sortLocated
) where
-#include "Typeable.h"
-
import Util
import Outputable
import FastString
diff --git a/compiler/basicTypes/Var.lhs b/compiler/basicTypes/Var.lhs
index e3dd2df100..70c5d4491a 100644
--- a/compiler/basicTypes/Var.lhs
+++ b/compiler/basicTypes/Var.lhs
@@ -73,7 +73,6 @@ module Var (
) where
#include "HsVersions.h"
-#include "Typeable.h"
import {-# SOURCE #-} TypeRep( Type, Kind, SuperKind )
import {-# SOURCE #-} TcType( TcTyVarDetails, pprTcTyVarDetails )
diff --git a/compiler/types/Class.lhs b/compiler/types/Class.lhs
index 3fb1bac314..2d145683bf 100644
--- a/compiler/types/Class.lhs
+++ b/compiler/types/Class.lhs
@@ -28,7 +28,6 @@ module Class (
classAllSelIds, classSCSelId, classMinimalDef
) where
-#include "Typeable.h"
#include "HsVersions.h"
import {-# SOURCE #-} TyCon ( TyCon, tyConName, tyConUnique )
diff --git a/compiler/utils/Bag.lhs b/compiler/utils/Bag.lhs
index a83397898e..2d823e46bb 100644
--- a/compiler/utils/Bag.lhs
+++ b/compiler/utils/Bag.lhs
@@ -21,8 +21,6 @@ module Bag (
mapAndUnzipBagM, mapAccumBagLM
) where
-#include "Typeable.h"
-
import Outputable
import Util