Skip to content
Snippets Groups Projects
Commit ca9effbd authored by Oleg Grenrus's avatar Oleg Grenrus
Browse files

Remove parseFilePathQ

parent 22d0a304
No related branches found
No related tags found
No related merge requests found
......@@ -26,7 +26,7 @@ module Distribution.Deprecated.ParseUtils (
runP, runE, ParseResult(..), parseFail, showPWarning,
Field(..), lineNo,
FieldDescr(..), readFields,
parseHaskellString, parseFilePathQ, parseTokenQ,
parseHaskellString, parseTokenQ,
parseOptCommaList,
showFilePath, showToken, showFreeText,
field, simpleField, listField, listFieldWithSep, spaceListField,
......@@ -322,11 +322,6 @@ posToLineNo (Parsec.Position row _) = row
------------------------------------------------------------------------------
parseFilePathQ :: ReadP r FilePath
parseFilePathQ = parseTokenQ
-- removed until normalise is no longer broken, was:
-- liftM normalise parseTokenQ
-- urgh, we can't define optQuotes :: ReadP r a -> ReadP r a
-- because the "compat" version of ReadP isn't quite powerful enough. In
-- particular, the type of <++ is ReadP r r -> ReadP r a -> ReadP r a
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment