Some fixes for ghc-8.6 (#93)

This commit is contained in:
Tony Day
2018-07-29 08:04:03 +01:00
committed by Stephen Diehl
parent 7c0e45c844
commit f75c99bda8
2 changed files with 6 additions and 2 deletions
+2
View File
@@ -492,8 +492,10 @@ import qualified Control.Exception
import Control.Monad.STM as X ( import Control.Monad.STM as X (
STM STM
, atomically , atomically
#if ( __GLASGOW_HASKELL__ < 806 )
, always , always
, alwaysSucceeds , alwaysSucceeds
#endif
, retry , retry
, orElse , orElse
, check , check
+4 -2
View File
@@ -122,8 +122,10 @@ import GHC.Records as X (
#if ( __GLASGOW_HASKELL__ >= 800 ) #if ( __GLASGOW_HASKELL__ >= 800 )
import Data.Kind as X ( import Data.Kind as X (
type (*) type Type
, type Type #if ( __GLASGOW_HASKELL__ < 806 )
, type (*)
#endif
) )
#endif #endif