From 9a61a70a199a846c18b8fb37d3cb1166c26a0ef3 Mon Sep 17 00:00:00 2001 From: Stephen Diehl Date: Mon, 5 Feb 2018 14:33:12 +0000 Subject: [PATCH] Looser lower-bound on Data.Kind export for GHC 8.0.x for #79 --- src/Protolude/Base.hs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Protolude/Base.hs b/src/Protolude/Base.hs index 9453c8dcc..bda508886 100644 --- a/src/Protolude/Base.hs +++ b/src/Protolude/Base.hs @@ -96,6 +96,7 @@ import GHC.Stack as X ( , prettyCallStack , withFrozenCallStack ) +#endif #if ( __GLASGOW_HASKELL__ >= 710 ) import GHC.TypeLits as X ( @@ -117,15 +118,15 @@ import GHC.TypeLits as X ( import GHC.Records as X ( HasField(..) ) +#endif +#if ( __GLASGOW_HASKELL__ >= 800 ) import Data.Kind as X ( type (*) , type Type ) #endif -#endif - -- Default Prelude defines this at the toplevel module, so we do as well. infixr 0 $!