Commit a9d56fe1 authored by Edward Z. Yang's avatar Edward Z. Yang
Browse files

Fix redundant import warning from Parsec.


Signed-off-by: default avatarEdward Z. Yang <ezyang@cs.stanford.edu>
parent ebcae71d
......@@ -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 (Word8)
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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment