From 923194c5b2cbf8e7915b254f8603d9552f9c6ca9 Mon Sep 17 00:00:00 2001 From: Tony Day Date: Fri, 15 Sep 2017 22:43:41 +1000 Subject: [PATCH] ghc-8.2 HasField, Type & * (#65) --- src/Protolude/Base.hs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/Protolude/Base.hs b/src/Protolude/Base.hs index 8b58c7cf5..9453c8dcc 100644 --- a/src/Protolude/Base.hs +++ b/src/Protolude/Base.hs @@ -113,9 +113,7 @@ import GHC.TypeLits as X ( ) #endif --- Pending GHC 8.2 we'll expose these. - -{- +#if ( __GLASGOW_HASKELL__ >= 802 ) import GHC.Records as X ( HasField(..) ) @@ -124,7 +122,7 @@ import Data.Kind as X ( type (*) , type Type ) --} +#endif #endif