[commit: ghc] wip/ttypeable: Clean up Data.Dynamic (42f4758)

git at git.haskell.org git at git.haskell.org
Sun Jan 29 20:22:33 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/ttypeable
Link       : http://ghc.haskell.org/trac/ghc/changeset/42f475843e208d8f5517e731fe30ff985e3cc9a5/ghc

>---------------------------------------------------------------

commit 42f475843e208d8f5517e731fe30ff985e3cc9a5
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Sun Jan 29 01:36:29 2017 -0500

    Clean up Data.Dynamic


>---------------------------------------------------------------

42f475843e208d8f5517e731fe30ff985e3cc9a5
 libraries/base/Data/Dynamic.hs | 2 --
 1 file changed, 2 deletions(-)

diff --git a/libraries/base/Data/Dynamic.hs b/libraries/base/Data/Dynamic.hs
index 446ad36..e7e6157 100644
--- a/libraries/base/Data/Dynamic.hs
+++ b/libraries/base/Data/Dynamic.hs
@@ -50,7 +50,6 @@ module Data.Dynamic
 import Data.Type.Equality
 import Type.Reflection
 import Data.Maybe
-import Unsafe.Coerce
 
 import GHC.Base
 import GHC.Show
@@ -87,7 +86,6 @@ instance Show Dynamic where
 -- | @since 4.0.0.0
 instance Exception Dynamic
 
-type Obj = Any
  -- Use GHC's primitive 'Any' type to hold the dynamically typed value.
  --
  -- In GHC's new eval/apply execution model this type must not look



More information about the ghc-commits mailing list