Imagine you want to write a parser to match any of a set of strings that you know beforehand. In Elm’s standard parsing library you would use Parser.oneOf. Like this: importParserexposing(Parser,oneOf,backtrackable,token,getChompedString)friendName:ParserStringfriendName=oneOf[backtrackable<|token"joe",backtrackable<|token"joey",backtrackable<|token"john"]|>getChompedString Now we can parse the name of our friends. However this parser has a few problems: It is inefficient If the string we a...