Commit 915ca233 authored by Oleg Grenrus's avatar Oleg Grenrus Committed by GitHub
Browse files

Merge pull request #4089 from ezyang/pr/parsec-data-word-import

Fix redundant import warning from Parsec.
parents 925278a5 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 (Word8)
import qualified Data.Word as Word
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
Supports Markdown
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