on master help sign in
warning fixup again
93c784dCorey O'Connor
CHANGELOG+1
@@ -10,6 +10,7 @@
10 - updates to vty-rogue from jtdaugherty. Thanks!
10 - updates to vty-rogue from jtdaugherty. Thanks!
11 - the oldest version of GHC tested to support vty is 7.6.2.
11 - the oldest version of GHC tested to support vty is 7.6.2.
12 - the oldest version of GHC that vty compiles under is 7.4.2
12 - the oldest version of GHC that vty compiles under is 7.4.2
13+
135.1.4
145.1.4
14 - merged https://github.com/coreyoconnor/vty/pull/51 thanks trofi!
15 - merged https://github.com/coreyoconnor/vty/pull/51 thanks trofi!
15
16
src/Graphics/Vty/Config.hs+8−1
@@ -66,7 +66,7 @@
66--
66--
67module Graphics.Vty.Config where
67module Graphics.Vty.Config where
68
68
69−#if __GLASGOW_HASKELL__ < 704
69+#if __GLASGOW_HASKELL__ > 704
70import Prelude
70import Prelude
71#else
71#else
72import Prelude hiding (catch)
72import Prelude hiding (catch)
@@ -74,8 +74,13 @@ import Prelude hiding (catch)
74
74
75import Control.Applicative hiding (many)
75import Control.Applicative hiding (many)
76
76
77+#if __GLASGOW_HASKELL__ < 708
77import Control.Exception (tryJust, catch, IOException)
78import Control.Exception (tryJust, catch, IOException)
78import Control.Monad (void, guard)
79import Control.Monad (void, guard)
80+#else
81+import Control.Exception (catch, IOException)
82+import Control.Monad (void)
83+#endif
79import Control.Monad.Trans.Class
84import Control.Monad.Trans.Class
80import Control.Monad.Trans.Writer
85import Control.Monad.Trans.Writer
81
86
@@ -86,7 +91,9 @@ import Data.Monoid
86import Graphics.Vty.Input.Events
91import Graphics.Vty.Input.Events
87
92
88import System.Directory (getAppUserDataDirectory)
93import System.Directory (getAppUserDataDirectory)
94+#if __GLASGOW_HASKELL__ < 708
89import System.IO.Error (isDoesNotExistError)
95import System.IO.Error (isDoesNotExistError)
96+#endif
90import System.Posix.Env (getEnv)
97import System.Posix.Env (getEnv)
91import System.Posix.IO (stdInput, stdOutput)
98import System.Posix.IO (stdInput, stdOutput)
92import System.Posix.Types (Fd(..))
99import System.Posix.Types (Fd(..))
src/Graphics/Vty/PictureToSpans.hs+2
@@ -22,6 +22,8 @@ import Control.Monad.State.Strict hiding ( state )
22
22
23#if __GLASGOW_HASKELL__ < 708
23#if __GLASGOW_HASKELL__ < 708
24import Control.Monad.ST.Strict hiding ( unsafeIOToST )
24import Control.Monad.ST.Strict hiding ( unsafeIOToST )
25+#else
26+import Control.Monad.ST.Strict hiding ( unsafeIOToST )
25#endif
27#endif
26
28
27import qualified Data.Vector as Vector hiding ( take, replicate )
29import qualified Data.Vector as Vector hiding ( take, replicate )