タグ

2012年7月11日のブックマーク (3件)

  • Neil Mitchell - TagSoup

    TagSoup is a library for parsing HTML/XML. It supports the HTML 5 specification, and can be used to parse either well-formed XML, or unstructured and malformed HTML from the web. The library also provides useful functions to extract information from an HTML document, making it ideal for screen-scraping. The library provides a basic data type for a list of unstructured tags, a parser to convert HTM

    mash180sx
    mash180sx 2012/07/11
  • Drinking TagSoup by Example

    by Neil Mitchell TagSoup is a library for parsing HTML/XML. It supports the HTML 5 specification, and can be used to parse either well-formed XML, or unstructured and malformed HTML from the web. The library also provides useful functions to extract information from an HTML document, making it ideal for screen-scraping. This document gives two particular examples of scraping information from the w

  • Introduction

    イントロダクション モナドとは何か なぜモナドを理解しようとするのか モナドとは何か モナドは値およびその値を使う計算の並びという観点からいえば、計算を構造化 する方法です。モナドを使うと、プログラマはひとならびのブロックを使って計 算を構築することができます。このブロックはそれ自身計算の並びです。モナド はどのように合成された計算が新しい計算を形成するかを決定します。これによ り、要求があるたびに組み合わせを手でコーディングしなければならないプログ ラマを解放してくれます。 モナドを、計算を合成して、より複雑な計算にする戦略と考えると いいでしょう。たとえば、Haskell の Maybe 型については よく馴染んでいると思いますが、 data Maybe a = Nothing | Just a これは結果を返しそこなうかもしれない計算の型を表現しています。 Maybe 型が示唆するも

    mash180sx
    mash180sx 2012/07/11
    haskell monado