Tearing through HTML with TagSoup and Fooling with Folds

7pm -- Tearing through HTML with TagSoup
8pm -- Fooling with Folds

---

7pm -- Tearing through HTML with TagSoup
Tom Murphy

HTML and XML are complicated languages, with definitions, rules, procedures, and lots of structure. This is important when we care about well-formed things. But HTML and XML are also just big bags of nested tags in some sort of tree. And if we want to extract information, casually, rapidly, and with a minimum of code, it can pay off to forget everything else about it. That's the approach taken by TagSoup[1] , a parsing library that's perfectly happy to parse malformed HTML. Requiring a minimal understanding of Haskell, we'll show good applications of parsing and screen scraping with TagSoup, and the pleasure of being sloppy in a principled fashion.

[1] http://community.haskell.org/~ndm/tagsoup/

---

8pm -- Fooling with Folds
Gershom Bazerman

I'll jump in with a talk this month again (we need more volunteers, really, please) that's designed to be be a casually thrown together walk through some intermediate ideas about the fold function, recursive data types, fixpoints, and soforth. I may, depending on inclination and energy, delve a bit into the famous Meijer/Fokkinga/Paterson "Bananas, Envelopes, and Barbed Wire" paper. Topics covered will probably all be drawn from the following, but feel no need to review them prior to the talk.

[1] http://www.haskell.org/haskellwiki/Catamorphisms
[2] http://www.cs.nott.ac.uk/~gmh/fold.pdf
[3] http://eprints.eemcs.utwente.nl/7281/01/db-utwente-40501F46.pdf

---

Additionally, don't forget the upcoming NY Haskell Hackaton, April 4-6! Over 50 people are already registered.

Details and registration here: http://www.haskell.org/haskellwiki/Hac_NYC

Join or login to comment.

  • Anne M.

    Thank you Tom Murphy for your fast tour of html parsing! You mentioned the slides would be posted, I wonder if they are up now? I would like to try it out :).

    March 2, 2014

People in this
Meetup are also in:

Create a Meetup Group and meet new people

Get started Learn more
Allison

Meetup has allowed me to meet people I wouldn't have met naturally - they're totally different than me.

Allison, started Women's Adventure Travel

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy