Skip to content

Commit

Permalink
fix typo in example
Browse files Browse the repository at this point in the history
  • Loading branch information
fimad committed Dec 28, 2014
1 parent d5a9b2e commit 46df4ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ the web page, and extract all of the comments into a list:
comments = chroots ("div" @: [hasClass "container"]) comment

comment :: Scraper String Comment
comment = textCommentScraper <|> imageCommentScraper
comment = textComment <|> imageComment

textComment :: Scraper String Comment
textComment = do
Expand Down
2 changes: 1 addition & 1 deletion src/Text/HTML/Scalpel.hs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
-- > comments = chroots ("div" @: [hasClass "container"]) comment
-- >
-- > comment :: Scraper String Comment
-- > comment = textCommentScraper <|> imageCommentScraper
-- > comment = textComment <|> imageComment
-- >
-- > textComment :: Scraper String Comment
-- > textComment = do
Expand Down

0 comments on commit 46df4ad

Please sign in to comment.