git.iko.soy/typeable/html-parse
on master help sign in
cabal: Add a bit of an example to the description
2c53d0fBen Gamari
html-parse.cabal+7
@@ -9,6 +9,13 @@ description:
9 The package targets similar use-cases to the venerable @tagsoup@ library,
9 The package targets similar use-cases to the venerable @tagsoup@ library,
10 but is significantly more efficient, achieving parsing speeds of over 50
10 but is significantly more efficient, achieving parsing speeds of over 50
11 megabytes per second on modern hardware with and typical web documents.
11 megabytes per second on modern hardware with and typical web documents.
12+ .
13+ For instance,
14+ .
15+ >>> parseTokens "<div><h1 class=widget>Hello World</h1><br/>"
16+ [TagOpen "div" [],TagOpen "h1" [Attr "class" "widget"],
17+ ContentText "Hello World",TagClose "h1",TagSelfClose "br" []]
18+
12homepage: http://github.com/bgamari/html-parse
19homepage: http://github.com/bgamari/html-parse
13license: BSD3
20license: BSD3
14license-file: LICENSE
21license-file: LICENSE