:: Ord a => [a] -> [a] is:exact -package:ghc -package:extra -package:lens -package:base -package:imports -package:lifted-base -package:statistics -package:errors package:parsers

Take a parser that may consume input, and on failure, go back to where we started and fail as if we didn't consume input.