ghc 8.0 record and typeintype prelude objects
This commit is contained in:
+12
@@ -1,6 +1,7 @@
|
||||
{-# LANGUAGE CPP #-}
|
||||
{-# LANGUAGE Unsafe #-}
|
||||
{-# LANGUAGE BangPatterns #-}
|
||||
{-# LANGUAGE ExplicitNamespaces #-}
|
||||
{-# LANGUAGE NoImplicitPrelude #-}
|
||||
|
||||
module Base (
|
||||
@@ -50,6 +51,17 @@ import GHC.Types as X (
|
||||
#endif
|
||||
)
|
||||
|
||||
#if ( __GLASGOW_HASKELL__ >= 800 )
|
||||
import GHC.OverloadedLabels as X (
|
||||
IsLabel(..)
|
||||
)
|
||||
|
||||
import Data.Kind as X (
|
||||
type (*)
|
||||
, type Type
|
||||
)
|
||||
#endif
|
||||
|
||||
infixr 0 $!
|
||||
|
||||
($!) :: (a -> b) -> a -> b
|
||||
|
||||
Reference in New Issue
Block a user