Helper functions to develop/test your own parser using elm/parser. It checks whether the result of parser is backtrackable or node.
run (keyword "import") "imp"
--> (Err _, True)
run (keyword "import") "import"
--> (Ok (), False)
run spaces " "
--> (Ok (), False)
run (backtrackable spaces) " "
--> (Ok (), True)