We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e9af54 commit 25f2591Copy full SHA for 25f2591
HTTP.cabal
@@ -114,15 +114,17 @@ Library
114
-- note the test harness constraints should be kept in sync with these
115
-- where dependencies are shared
116
build-depends:
117
- base >= 4.6.0.0 && < 4.17
118
- , array >= 0.3.0.2 && < 0.6
119
- , bytestring >= 0.9.1.5 && < 0.12
120
- , parsec >= 2.0 && < 3.2
121
- , time >= 1.1.2.3 && < 1.13
+ base >= 4.6.0.0 && < 4.17
+ , array >= 0.3.0.2 && < 0.6
+ , bytestring >= 0.9.1.5 && < 0.12
+ , parsec >= 2.0 && < 3.2
+ , time >= 1.1.2.3 && < 1.13
122
+ , transformers >= 0.2.0.0 && < 0.7
123
+ -- transformers-0.2.0.0 is the first to have Control.Monad.IO.Class
124
-- The following dependencies are refined by flags, but they should
125
-- still be mentioned here on the top-level.
- , mtl >= 1.1.1.0 && < 2.3
- , network >= 2.4 && < 3.2
126
+ , mtl >= 1.1.1.0 && < 2.3
127
+ , network >= 2.4 && < 3.2
128
129
default-language: Haskell98
130
default-extensions: FlexibleInstances
Network/Browser.hs
@@ -140,13 +140,18 @@ import Control.Monad.Fail
140
import Data.Char (toLower)
141
import Data.List (isPrefixOf)
142
import Data.Maybe (fromMaybe, listToMaybe, catMaybes )
143
+#if !MIN_VERSION_base(4,8,0)
144
import Control.Applicative (Applicative (..), (<$>))
145
+#endif
146
#ifdef MTL1
147
import Control.Monad (filterM, forM_, when, ap)
148
#else
149
import Control.Monad (filterM, forM_, when)
150
#endif
-import Control.Monad.State (StateT (..), MonadIO (..), modify, gets, withStateT, evalStateT, MonadState (..))
151
+import Control.Monad.IO.Class
152
+ ( MonadIO (..) )
153
+import Control.Monad.State
154
+ ( MonadState(..), gets, modify, StateT (..), evalStateT, withStateT )
155
156
import qualified System.IO
157
( hSetBuffering, hPutStr, stdout, stdin, hGetChar
0 commit comments