pandoc/prelude/Prelude.hs
Jesse Rosenthal 09d96bb884 Remove unnecessary CPP in custom Prelude.
We don't have to worry about base < 4.7.
2016-09-03 15:23:32 -04:00

26 lines
393 B
Haskell

{-# LANGUAGE PackageImports #-}
{-# LANGUAGE CPP #-}
-- This custom Prelude emulates the API of the prelude
-- with base 4.8.
module Prelude
(
module P
#if MIN_VERSION_base(4,8,0)
#else
, Monoid(..)
, Applicative(..)
, (<$>)
, (<$)
#endif
)
where
#if MIN_VERSION_base(4,8,0)
import "base" Prelude as P
#else
import "base" Prelude as P
import Control.Applicative
import Data.Monoid
#endif