on master help sign in
warning fixups from travis ci failures
2a93487Corey O'Connor
src/Graphics/Vty/Config.hs+1−2
@@ -66,8 +66,7 @@
66--
66--
67module Graphics.Vty.Config where
67module Graphics.Vty.Config where
68
68
69−-- ignore warning on GHC 7.6+. Required for GHC 7.4
70−#if __GLASGOW_HASKELL__ >= 704
69+#if __GLASGOW_HASKELL__ < 706
71import Prelude
70import Prelude
72#else
71#else
73import Prelude hiding (catch)
72import Prelude hiding (catch)
src/Graphics/Vty/PictureToSpans.hs+6−2
@@ -1,9 +1,10 @@
1-- Copyright Corey O'Connor<coreyoconnor@gmail.com>
1-- Copyright Corey O'Connor<coreyoconnor@gmail.com>
2−{-# LANGUAGE RankNTypes #-}
3−{-# LANGUAGE TemplateHaskell #-}
4{-# LANGUAGE BangPatterns #-}
2{-# LANGUAGE BangPatterns #-}
3+{-# LANGUAGE CPP #-}
5{-# LANGUAGE ExistentialQuantification #-}
4{-# LANGUAGE ExistentialQuantification #-}
6{-# LANGUAGE NamedFieldPuns #-}
5{-# LANGUAGE NamedFieldPuns #-}
6+{-# LANGUAGE RankNTypes #-}
7+{-# LANGUAGE TemplateHaskell #-}
7{- | Transforms an image into rows of operations.
8{- | Transforms an image into rows of operations.
8 -}
9 -}
9module Graphics.Vty.PictureToSpans where
10module Graphics.Vty.PictureToSpans where
@@ -18,7 +19,10 @@ import Graphics.Vty.Span
18import Control.Lens hiding ( op )
19import Control.Lens hiding ( op )
19import Control.Monad.Reader
20import Control.Monad.Reader
20import Control.Monad.State.Strict hiding ( state )
21import Control.Monad.State.Strict hiding ( state )
22+
23+#if __GLASGOW_HASKELL__ < 708
21import Control.Monad.ST.Strict hiding ( unsafeIOToST )
24import Control.Monad.ST.Strict hiding ( unsafeIOToST )
25+#endif
22
26
23import qualified Data.Vector as Vector hiding ( take, replicate )
27import qualified Data.Vector as Vector hiding ( take, replicate )
24import Data.Monoid (mappend)
28import Data.Monoid (mappend)