on master help sign in
warning fixups from travis ci failures
commit2a934870f20fb28541136291452f30199d036cc3 authorCorey O'Connor <coreyoconnor@gmail.com> dateThu 7 Aug 2014, 20:34 (12 years ago) parentddd61dd
2 files changed+7−4
src/Graphics/Vty/Config.hs+1−2 src/Graphics/Vty/PictureToSpans.hs+6−2
src/Graphics/Vty/Config.hs+1−2
@@ -66,8 +66,7 @@
6666--
6767module Graphics.Vty.Config where
6868
69−-- ignore warning on GHC 7.6+. Required for GHC 7.4
70−#if __GLASGOW_HASKELL__ >= 704
69+#if __GLASGOW_HASKELL__ < 706
7170import Prelude
7271#else
7372import Prelude hiding (catch)
src/Graphics/Vty/PictureToSpans.hs+6−2
@@ -1,9 +1,10 @@
11-- Copyright Corey O'Connor<coreyoconnor@gmail.com>
2−{-# LANGUAGE RankNTypes #-}
3−{-# LANGUAGE TemplateHaskell #-}
42{-# LANGUAGE BangPatterns #-}
3+{-# LANGUAGE CPP #-}
54{-# LANGUAGE ExistentialQuantification #-}
65{-# LANGUAGE NamedFieldPuns #-}
6+{-# LANGUAGE RankNTypes #-}
7+{-# LANGUAGE TemplateHaskell #-}
78{- | Transforms an image into rows of operations.
89 -}
910module Graphics.Vty.PictureToSpans where
@@ -18,7 +19,10 @@ import Graphics.Vty.Span
1819import Control.Lens hiding ( op )
1920import Control.Monad.Reader
2021import Control.Monad.State.Strict hiding ( state )
22+
23+#if __GLASGOW_HASKELL__ < 708
2124import Control.Monad.ST.Strict hiding ( unsafeIOToST )
25+#endif
2226
2327import qualified Data.Vector as Vector hiding ( take, replicate )
2428import Data.Monoid (mappend)