Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Remove a redundant backwards compatibility hack

  • Loading branch information...
1 parent c089588 commit d70b884686a309d97f110dbb79cde1d7e034b704 @igfoo igfoo committed
Showing with 0 additions and 9 deletions.
  1. +0 −9 Data/Version.hs
9 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
-import Distribution.Compat.ReadP
import Data.Typeable ( Typeable, TyCon, mkTyCon, mkTyConApp )

0 comments on commit d70b884

Please sign in to comment.
Something went wrong with that request. Please try again.