[commit: base] master: Remove a redundant backwards compatibility hack (d70b884)
Ian Lynagh
igloo at earth.li
Sun Feb 17 21:57:44 CET 2013
Repository : ssh://darcs.haskell.org//srv/darcs/packages/base
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/d70b884686a309d97f110dbb79cde1d7e034b704
>---------------------------------------------------------------
commit d70b884686a309d97f110dbb79cde1d7e034b704
Author: Ian Lynagh <ian at well-typed.com>
Date: Sun Feb 17 18:33:41 2013 +0000
Remove a redundant backwards compatibility hack
>---------------------------------------------------------------
Data/Version.hs | 9 ---------
1 files changed, 0 insertions(+), 9 deletions(-)
diff --git a/Data/Version.hs b/Data/Version.hs
index 0208931..8b59589 100644
--- a/Data/Version.hs
+++ b/Data/Version.hs
@@ -35,16 +35,7 @@ module Data.Version (
import Prelude -- necessary to get dependencies right
--- These #ifdefs are necessary because this code might be compiled as
--- part of ghc/lib/compat, and hence might be compiled by an older version
--- of GHC. In which case, we might need to pick up ReadP from
--- Distribution.Compat.ReadP, because the version in
--- Text.ParserCombinators.ReadP doesn't have all the combinators we need.
-#if __GLASGOW_HASKELL__ || __HUGS__
import Text.ParserCombinators.ReadP
-#else
-import Distribution.Compat.ReadP
-#endif
#if !__GLASGOW_HASKELL__
import Data.Typeable ( Typeable, TyCon, mkTyCon, mkTyConApp )
More information about the ghc-commits
mailing list