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.
2 parents f924b24 + 1573844 commit 11042dbCopy full SHA for 11042db
templates/wrappers.hs
@@ -6,9 +6,6 @@
6
7
#if defined(ALEX_MONAD) || defined(ALEX_MONAD_BYTESTRING)
8
import Control.Applicative as App (Applicative (..))
9
-#if __GLASGOW_HASKELL__ >= 800
10
-import qualified Control.Monad.Fail as Fail
11
-#endif
12
#endif
13
14
import Data.Word (Word8)
@@ -228,14 +225,6 @@ instance Monad Alex where
228
225
Left msg -> Left msg
229
226
Right (s',a) -> unAlex (k a) s'
230
227
return = App.pure
231
-#if __GLASGOW_HASKELL__ < 800
232
- fail = alexError
233
-#else
234
- fail = Fail.fail
235
-
236
-instance Fail.MonadFail Alex where
237
238
239
240
alexGetInput :: Alex AlexInput
241
alexGetInput
0 commit comments