elm-html-parser
elm-html-parser copied to clipboard
Shouldn't parse return a Result?
Shouldn't parse return a Result rather than a List Node ? I was using the lib to write a Chrome extension that parsed the tab's DOM, and it just returns [] if the DOM is malformed, which could be handled more gracefully than an empty list check. That would also introduce the possibility of the parsing failing because of the DOM.
I understand though that this is a major breaking change :(