summaryrefslogtreecommitdiff
path: root/prelude/Prelude.hs
blob: 34f133d83c2c422de49142c4f7cb42b11ae731ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{-# 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