Parsing html in haskell
问题 I'm trying to parse the a links from the main part ( <article> ) of a blog post. I have adapted what I found on FPComplete but nothing is printed out. (The code does not work as far as I can see as running it on the online IDE and with the Bing target also produces no links.) In GHCI I can simulate the first line of parseAF and that gets me a large record, which I take to be correct. But cursor $// findNodes &| extractData returns [] I've tried regex but that wasn't happy trying to find such