Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
Packages
Cabal
Commits
a9d56fe1
Commit
a9d56fe1
authored
Nov 06, 2016
by
Edward Z. Yang
Browse files
Fix redundant import warning from Parsec.
Signed-off-by:
Edward Z. Yang
<
ezyang@cs.stanford.edu
>
parent
ebcae71d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Cabal/Distribution/Parsec/Lexer.x
View file @
a9d56fe1
...
...
@@ -27,7 +27,7 @@ import Distribution.Parsec.Types.Common (Position (..), incPos, retPos)
import Data.ByteString (ByteString)
import qualified Data.ByteString as B
import qualified Data.ByteString.Char8 as B.Char8
import Data.Word
(
Word
8)
import
qualified
Data.Word
as
Word
#ifdef CABAL_PARSEC_DEBUG
import Debug.Trace
...
...
@@ -176,7 +176,7 @@ type AlexInput = InputStream
alexInputPrevChar :: AlexInput -> Char
alexInputPrevChar _ = error "alexInputPrevChar not used"
alexGetByte :: AlexInput -> Maybe (Word8,AlexInput)
alexGetByte :: AlexInput -> Maybe (
Word.
Word8,AlexInput)
alexGetByte = B.uncons
lexicalError :: Position -> InputStream -> Lex LToken
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment