This module contains a very simple parser for HTML documents.
Author: Michael Hanus
Version: October 2020
readHtmlFile
:: String -> IO [BaseHtml]
Reads a file with HTML text and returns the corresponding HTML expressions. |
parseHtmlString
:: String -> [BaseHtml]
Transforms an HTML string into a list of HTML expressions. |
Reads a file with HTML text and returns the corresponding HTML expressions.
|
Transforms an HTML string into a list of HTML expressions. If the HTML string is a well structured document, the list of HTML expressions should contain exactly one element. |