module Protolude.Base (
module X,
($!),
) where
#if defined(__GLASGOW_HASKELL__) && ( __GLASGOW_HASKELL__ >= 600 )
import GHC.Num as X (
Num(..)
, Integer
, subtract
)
import GHC.Enum as X (
Bounded(..)
, Enum(..)
, boundedEnumFrom
, boundedEnumFromThen
)
import GHC.Real as X
import GHC.Float as X (
Float(..)
, Double(..)
, Floating (..)
, RealFloat(..)
, showFloat
, showSignedFloat
)
import GHC.Show as X (
Show(..)
)
import GHC.Exts as X (
Constraint
, Ptr
, FunPtr
)
import GHC.Base as X (
(++)
, seq
, asTypeOf
, ord
, maxInt
, minInt
, until
)
import System.IO as X (
print
, putStr
, putStrLn
)
import GHC.Types as X (
Bool
, Char
, Int
, Word
, Ordering
, IO
#if ( __GLASGOW_HASKELL__ >= 710 )
, Coercible
#endif
)
#if ( __GLASGOW_HASKELL__ >= 710 )
import GHC.StaticPtr as X (StaticPtr)
#endif
#if ( __GLASGOW_HASKELL__ >= 800 )
import GHC.OverloadedLabels as X (
IsLabel(..)
)
import GHC.ExecutionStack as X (
Location(..)
, SrcLoc(..)
, getStackTrace
, showStackTrace
)
import GHC.Stack as X (
CallStack
, type HasCallStack
, callStack
, prettySrcLoc
, currentCallStack
, getCallStack
, prettyCallStack
, withFrozenCallStack
)
#endif
#if ( __GLASGOW_HASKELL__ >= 710 )
import GHC.TypeLits as X (
Symbol
, SomeSymbol(..)
, Nat
, SomeNat(..)
, CmpNat
, KnownSymbol
, KnownNat
, natVal
, someNatVal
, symbolVal
, someSymbolVal
)
#endif
#if ( __GLASGOW_HASKELL__ >= 802 )
import GHC.Records as X (
HasField(..)
)
#endif
#if ( __GLASGOW_HASKELL__ >= 800 )
import Data.Kind as X (
type (*)
, type Type
)
#endif
infixr 0 $!
($!) :: (a -> b) -> a -> b
f $! x = let !vx = x in f vx
#endif