Big tidy-up of deriving code
[ghc-hetmet.git] / compiler / utils / Digraph.lhs
index c49087c..669f718 100644 (file)
@@ -1,3 +1,7 @@
+%
+% (c) The University of Glasgow 2006
+%
+
 \begin{code}
 module Digraph(
 
@@ -34,20 +38,20 @@ module Digraph(
 
 
 import Util    ( sortLe )
+import Outputable
 
 -- Extensions
-import MONAD_ST
+import Control.Monad.ST
 
 -- std interfaces
-import Maybe
-import Array
-import List
-import Outputable
+import Data.Maybe
+import Data.Array
+import Data.List
 
-#if __GLASGOW_HASKELL__ >= 504
-import Data.Array.ST  hiding ( indices, bounds )
+#if __GLASGOW_HASKELL__ > 604
+import Data.Array.ST
 #else
-import ST
+import Data.Array.ST  hiding ( indices, bounds )
 #endif
 \end{code}