Skip to content

Commit 5f232df

Browse files
committed
Make -Wall clean
Get rid of left-over redundant-import warnings from the last minute AMP-changes that occured in GHC 7.10
1 parent 318bca7 commit 5f232df

File tree

4 files changed

+3
-8
lines changed

4 files changed

+3
-8
lines changed

Data/IntMap/Base.hs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -216,9 +216,7 @@ module Data.IntMap.Base (
216216
, highestBitMask
217217
) where
218218

219-
#if MIN_VERSION_base(4,8,0)
220-
import Control.Applicative ((<$>))
221-
#else
219+
#if !(MIN_VERSION_base(4,8,0))
222220
import Control.Applicative (Applicative(pure, (<*>)), (<$>))
223221
import Data.Monoid (Monoid(..))
224222
import Data.Traversable (Traversable(traverse))

Data/Map/Base.hs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -270,9 +270,7 @@ module Data.Map.Base (
270270
, filterLt
271271
) where
272272

273-
#if MIN_VERSION_base(4,8,0)
274-
import Control.Applicative ((<$>))
275-
#else
273+
#if !(MIN_VERSION_base(4,8,0))
276274
import Control.Applicative (Applicative(..), (<$>))
277275
import Data.Monoid (Monoid(..))
278276
import Data.Traversable (Traversable(traverse))

Data/Sequence.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ module Data.Sequence (
158158
import Prelude hiding (
159159
Functor(..),
160160
#if MIN_VERSION_base(4,8,0)
161-
Applicative, foldMap, Monoid,
161+
Applicative, (<$>), foldMap, Monoid,
162162
#endif
163163
null, length, take, drop, splitAt, foldl, foldl1, foldr, foldr1,
164164
scanl, scanl1, scanr, scanr1, replicate, zip, zipWith, zip3, zipWith3,

Data/Tree.hs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ module Data.Tree(
3535
) where
3636

3737
#if MIN_VERSION_base(4,8,0)
38-
import Control.Applicative ((<$>))
3938
import Data.Foldable (toList)
4039
#else
4140
import Control.Applicative (Applicative(..), (<$>))

0 commit comments

Comments
 (0)