-- | Smooth over differences between various ghc versions by making older -- preludes look like 4.8.0 {-# LANGUAGE PackageImports #-} {-# LANGUAGE CPP #-} module Prelude ( module P #if !MIN_VERSION_base(4,8,0) , Applicative(..) , Monoid(..) , (<$>) , (<$) , traverse #endif ) where #if MIN_VERSION_base(4,8,0) import "base" Prelude as P #else #if MIN_VERSION_base(4,6,0) import "base" Prelude as P #else import "base" Prelude as P hiding (catch) #endif import Control.Applicative import Data.Monoid import Data.Traversable (traverse) #endif