Closed tdimiduk closed 11 years ago
The html parsing doc you link to: http://adit.io/posts/2012-04-14-working_with_HTML_in_haskell.html specifies:
import HandsomeSoup
at least on my haskell (ghc 7.6.2) with a cabal install of HandsomeSoup 0.3.1, HandsomeSoup needs to be imported as:
import Text.HandsomeSoup
To follow along in ghci, the line:
doc = readString [withParseHTML yes, withWarnings no] html
also needs to be
let doc = readString [withParseHTML yes, withWarnings no] html
Fixed, thanks!
The html parsing doc you link to: http://adit.io/posts/2012-04-14-working_with_HTML_in_haskell.html specifies:
at least on my haskell (ghc 7.6.2) with a cabal install of HandsomeSoup 0.3.1, HandsomeSoup needs to be imported as: