summaryrefslogtreecommitdiff
path: root/libraries/base/GHC/MVar.hs
diff options
context:
space:
mode:
authorHerbert Valerio Riedel <hvr@gnu.org>2015-03-07 20:42:21 +0100
committerHerbert Valerio Riedel <hvr@gnu.org>2015-03-07 20:45:44 +0100
commit47b5b5c2b2c92ba091313c36489588edadceaa9d (patch)
treedbfae91089f8812d537bb75a48cb08e518274990 /libraries/base/GHC/MVar.hs
parent68d4f47212633d101c5f4963dbfccf0fb9a8580f (diff)
downloadhaskell-47b5b5c2b2c92ba091313c36489588edadceaa9d.tar.gz
base: drop redundant Typeable derivings
Thanks to #9858 `Typeable` doesn't need to be explicitly derived anymore. This also makes `AutoDeriveTypeable` redundant, as well as some imports of `Typeable` (removal of whose may be beneficial to #9707). This commit removes several such now redundant use-sites in `base`. Reviewed By: austin, ekmett Differential Revision: https://phabricator.haskell.org/D712
Diffstat (limited to 'libraries/base/GHC/MVar.hs')
-rw-r--r--libraries/base/GHC/MVar.hs5
1 files changed, 2 insertions, 3 deletions
diff --git a/libraries/base/GHC/MVar.hs b/libraries/base/GHC/MVar.hs
index a5054cc8fe..911c024128 100644
--- a/libraries/base/GHC/MVar.hs
+++ b/libraries/base/GHC/MVar.hs
@@ -1,5 +1,5 @@
{-# LANGUAGE Unsafe #-}
-{-# LANGUAGE NoImplicitPrelude, MagicHash, UnboxedTuples, AutoDeriveTypeable #-}
+{-# LANGUAGE NoImplicitPrelude, MagicHash, UnboxedTuples #-}
{-# OPTIONS_GHC -funbox-strict-fields #-}
{-# OPTIONS_HADDOCK hide #-}
@@ -33,9 +33,8 @@ module GHC.MVar (
) where
import GHC.Base
-import Data.Typeable
-data MVar a = MVar (MVar# RealWorld a) deriving( Typeable )
+data MVar a = MVar (MVar# RealWorld a)
{- ^
An 'MVar' (pronounced \"em-var\") is a synchronising variable, used
for communication between concurrent threads. It can be thought of