2015-10-14 09:09:10 -07:00
|
|
|
{-# LANGUAGE PackageImports #-}
|
|
|
|
{-# LANGUAGE CPP #-}
|
|
|
|
|
2015-11-09 11:15:11 -08:00
|
|
|
-- This custom Prelude emulates the API of the prelude
|
|
|
|
-- with base 4.8.
|
|
|
|
|
2015-10-14 09:09:10 -07:00
|
|
|
module Prelude
|
|
|
|
(
|
|
|
|
module P
|
|
|
|
#if MIN_VERSION_base(4,8,0)
|
|
|
|
#else
|
2015-11-09 11:15:11 -08:00
|
|
|
, Monoid(..)
|
|
|
|
, Applicative(..)
|
2015-10-14 09:09:10 -07:00
|
|
|
, (<$>)
|
|
|
|
, (<$)
|
|
|
|
#endif
|
|
|
|
)
|
|
|
|
where
|
|
|
|
|
|
|
|
#if MIN_VERSION_base(4,8,0)
|
|
|
|
import "base" Prelude as P
|
|
|
|
#else
|
2016-09-03 15:23:32 -04:00
|
|
|
import "base" Prelude as P
|
2015-10-14 09:09:10 -07:00
|
|
|
import Control.Applicative
|
|
|
|
import Data.Monoid
|
|
|
|
#endif
|