diff options
author | Ben Gamari <ben@smart-cactus.org> | 2016-08-07 13:51:40 +0200 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2016-08-07 13:51:40 +0200 |
commit | 08aa47916d6bb5a0f65d4da1021e0700b30b4b3b (patch) | |
tree | e30f87a4ac70852c5cb9f30fb6ca12a20aa6fc3f /haddock-api/src/Haddock | |
parent | 60c43ac1ceac6e76c8ab6f2eac63be4ad2b3e77e (diff) |
Haddock.Types: More precise version guard
This allows haddock to be built with GHC 8.0.2 pre-releases.
Diffstat (limited to 'haddock-api/src/Haddock')
-rw-r--r-- | haddock-api/src/Haddock/Types.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haddock-api/src/Haddock/Types.hs b/haddock-api/src/Haddock/Types.hs index 17037781..dcc50b95 100644 --- a/haddock-api/src/Haddock/Types.hs +++ b/haddock-api/src/Haddock/Types.hs @@ -449,7 +449,7 @@ instance (NFData a, NFData mod) DocExamples a -> a `deepseq` () DocHeader a -> a `deepseq` () -#if !MIN_VERSION_ghc(8,0,2) +#if !MIN_VERSION_GLASGOW_HASKELL(8,0,1,1) -- These were added to GHC itself in 8.0.2 instance NFData Name where rnf x = seq x () instance NFData OccName where rnf x = seq x () |