summaryrefslogtreecommitdiff
path: root/libraries/base/Data/Version.hs
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2013-02-15 20:51:56 +0000
committerIan Lynagh <ian@well-typed.com>2013-02-15 20:51:56 +0000
commit25d1eafeb41f046630f978da3655ae578c9c83b1 (patch)
tree6cb8dc7b9d0b1dfddbdec07b0f3e652b41947aa8 /libraries/base/Data/Version.hs
parentab1d58b71736b629d28e3ce48310414880dabca3 (diff)
downloadhaskell-25d1eafeb41f046630f978da3655ae578c9c83b1.tar.gz
Remove nhc98-specific files and content
Diffstat (limited to 'libraries/base/Data/Version.hs')
-rw-r--r--libraries/base/Data/Version.hs4
1 files changed, 1 insertions, 3 deletions
diff --git a/libraries/base/Data/Version.hs b/libraries/base/Data/Version.hs
index b0dd92e9ae..02089317b3 100644
--- a/libraries/base/Data/Version.hs
+++ b/libraries/base/Data/Version.hs
@@ -40,7 +40,7 @@ import Prelude -- necessary to get dependencies right
-- 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__ || __NHC__
+#if __GLASGOW_HASKELL__ || __HUGS__
import Text.ParserCombinators.ReadP
#else
import Distribution.Compat.ReadP
@@ -137,8 +137,6 @@ showVersion (Version branch tags)
--
#if __GLASGOW_HASKELL__ || __HUGS__
parseVersion :: ReadP Version
-#elif __NHC__
-parseVersion :: ReadPN r Version
#else
parseVersion :: ReadP r Version
#endif