HTML4 parser written by Haskell