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