on master help sign in
Remove all known GHC warnings
3312996Bryan O'Sullivan
Data/Text/Array.hs+1
@@ -1,5 +1,6 @@
1{-# LANGUAGE BangPatterns, CPP, ExistentialQuantification, MagicHash,
1{-# LANGUAGE BangPatterns, CPP, ExistentialQuantification, MagicHash,
2 Rank2Types, ScopedTypeVariables, UnboxedTuples #-}
2 Rank2Types, ScopedTypeVariables, UnboxedTuples #-}
3+{-# OPTIONS_GHC -fno-warn-unused-matches #-}
3-- |
4-- |
4-- Module : Data.Text.Array
5-- Module : Data.Text.Array
5-- Copyright : (c) Bryan O'Sullivan 2009
6-- Copyright : (c) Bryan O'Sullivan 2009
Data/Text/Lazy.hs+3−3
@@ -147,11 +147,11 @@ module Data.Text.Lazy
147 -- , sort
147 -- , sort
148 ) where
148 ) where
149
149
150−import Prelude (Char, Bool(..), Functor(..), Int, Maybe(..), String,
150+import Prelude (Char, Bool(..), Int, Maybe(..), String,
151 Eq(..), Ord(..), (++),
151 Eq(..), Ord(..), (++),
152 Read(..), Show(..),
152 Read(..), Show(..),
153− (&&), (||), (+), (-), (.), ($),
153+ (&&), (+), (-), (.),
154− flip, fromIntegral, not, return, otherwise)
154+ flip, fromIntegral, not, otherwise)
155import qualified Prelude as P
155import qualified Prelude as P
156import Data.Int (Int64)
156import Data.Int (Int64)
157import qualified Data.List as L
157import qualified Data.List as L