diff options
Diffstat (limited to 'libraries/base/GHC/IOArray.hs')
-rw-r--r-- | libraries/base/GHC/IOArray.hs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libraries/base/GHC/IOArray.hs b/libraries/base/GHC/IOArray.hs index 6c925d3b2f..f089cad933 100644 --- a/libraries/base/GHC/IOArray.hs +++ b/libraries/base/GHC/IOArray.hs @@ -1,5 +1,5 @@ {-# LANGUAGE Unsafe #-} -{-# LANGUAGE NoImplicitPrelude, AutoDeriveTypeable, RoleAnnotations #-} +{-# LANGUAGE NoImplicitPrelude, RoleAnnotations #-} {-# OPTIONS_GHC -funbox-strict-fields #-} {-# OPTIONS_HADDOCK hide #-} @@ -27,7 +27,6 @@ module GHC.IOArray ( import GHC.Base import GHC.IO import GHC.Arr -import Data.Typeable.Internal -- --------------------------------------------------------------------------- -- | An 'IOArray' is a mutable, boxed, non-strict array in the 'IO' monad. @@ -39,7 +38,7 @@ import Data.Typeable.Internal -- -- -newtype IOArray i e = IOArray (STArray RealWorld i e) deriving( Typeable ) +newtype IOArray i e = IOArray (STArray RealWorld i e) -- index type should have a nominal role due to Ix class. See also #9220. type role IOArray nominal representational |