fix a build error with parsec 3 (#22)
This commit is contained in:
parent
d9f1bb92af
commit
be94326a03
@ -282,6 +282,7 @@ tracewith f e = trace (f e) e
|
|||||||
|
|
||||||
-- parsing
|
-- parsing
|
||||||
|
|
||||||
|
choice' :: [GenParser tok st a] -> GenParser tok st a
|
||||||
choice' = choice . map Text.ParserCombinators.Parsec.try
|
choice' = choice . map Text.ParserCombinators.Parsec.try
|
||||||
|
|
||||||
parsewith :: Parser a -> String -> Either ParseError a
|
parsewith :: Parser a -> String -> Either ParseError a
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user