Would you like to see this page in English? Click here.


または
1-Clickで注文する場合は、サインインをしてください。
または
Amazonプライム会員に適用。注文手続きの際にお申し込みください。詳細はこちら
こちらからも買えますよ
この商品をお持ちですか? マーケットプレイスに出品する
Purely Functional Data Structures
 
 

Purely Functional Data Structures [ペーパーバック]

Chris Okasaki
5つ星のうち 5.0  レビューをすべて見る (1 カスタマーレビュー)
価格: ¥ 4,429 通常配送無料 詳細
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
在庫あり。 在庫状況について
この商品は、Amazon.co.jp が販売、発送します。 ギフトラッピングを利用できます。
2012/6/2 土曜日 にお届けします! 「お急ぎ便」オプション(有料)を選択して注文を確定された関東エリアへの配達のご注文が対象です。詳しくはこちら
1冊からでも印刷、お届け
オンデマンド印刷技術で注文に応じて印刷、お届けする「プリント・オン・デマンド(POD)」サービス。

キャンペーンおよび追加情報

  • 掲載画像とお届けする商品の表紙が異なる場合があります。ご了承ください。


よく一緒に購入されている商品

この本とTypes and Programming Languages ¥ 6,659 をあわせて買う

Purely Functional Data Structures + Types and Programming Languages
合計価格: ¥ 11,088

在庫状況の表示

  • 対象商品: Purely Functional Data Structures

    在庫あり。 在庫状況について
    この商品は、Amazon.co.jp が販売、発送します。
    通常配送無料(一部の商品・注文方法等を除く) 詳細

  • Types and Programming Languages

    在庫あり。 在庫状況について
    この商品は、Amazon.co.jp が販売、発送します。
    通常配送無料(一部の商品・注文方法等を除く) 詳細



商品の説明

内容説明

Most books on data structures assume an imperative language like C or C++. However, data structures for these languages do not always translate well to functional languages such as Standard ML, Haskell, or Scheme. This book describes data structures from the point of view of functional languages, with examples, and presents design techniques so that programmers can develop their own functional data structures. It includes both classical data structures, such as red-black trees and binomial queues, and a host of new data structures developed exclusively for functional languages. All source code is given in Standard ML and Haskell, and most of the programs can easily be adapted to other functional languages. This handy reference for professional programmers working with functional languages can also be used as a tutorial or for self-study.

Book Description

Most books on data structures assume an imperative language such as C or C++. However, data structures for these languages do not always translate well to functional languages such as Standard ML, Haskell, or Scheme. This book describes data structures from the point of view of functional languages, with examples, and presents design techniques that allow programmers to develop their own functional data structures. The author includes both classical data structures, such as red-black trees and binomial queues, and a host of new data structures developed exclusively for functional languages. All source code is given in Standard ML and Haskell, and most of the programs are easily adaptable to other functional languages. This handy reference for professional programmers working with functional languages can also be used as a tutorial or for self-study.

登録情報

  • ペーパーバック: 232ページ
  • 出版社: Cambridge University Press (1999/7/1)
  • 言語 英語, 英語, 英語
  • ISBN-10: 0521663504
  • ISBN-13: 978-0521663502
  • 発売日: 1999/7/1
  • 商品の寸法: 2.3 x 1.5 x 0.2 cm
  • おすすめ度: 5つ星のうち 5.0  レビューをすべて見る (1 カスタマーレビュー)
  • Amazon ベストセラー商品ランキング: 洋書 - 7,713位 (洋書のベストセラーを見る)
  •  カタログ情報、または画像について報告

  • 目次を見る

この本のなか見!検索より (詳細はこちら
書き出し
A distinctive property of functional data structures is that they are always persistent-updating a functional data structure does not destroy the existing version, but rather creates a new version that coexists with the old one. 最初のページを読む
その他の機能
頻出単語一覧
この本のサンプルページを閲覧する
おもて表紙 | 著作権 | 目次 | 抜粋 | 索引 | 裏表紙
この本の中身を閲覧する:

この商品を見た後に買っているのは?


この商品につけられているタグ

 (詳細)
タグをクリックすると、タグがつけられた商品、タグをつけた人が表示されます。※タグは初期設定で公開になっています。詳しくはこちら
 

 

カスタマーレビュー

星4つ
0
星3つ
0
星2つ
0
星1つ
0
最も参考になったカスタマーレビュー
24 人中、23人の方が、「このレビューが参考になった」と投票しています。
形式:ペーパーバック
関数プログラミング向けのデータ構造というものについて、考えたことがあるでしょうか?

良くアルゴリズム本に出てくるデータ構造は、破壊的更新を使った命令的(手続き的)なスタイルで使われることを前提に定義されています。そのためデータ構造の中には、Standard ML(SML)や Haskell などのような関数型言語で使おうとすると(非常に)効率が悪いものもあります。

本書ではならし解析や遅延評価を用い、「どうしたらより効率の良いデータ構造が構築できるか」についてせまっていきます。

本書は実は Haskell ではなく SML を対象として書かれているのですが、Haskell をやっていく中でもその重要度が劣ることはありません。寧ろ、Haskell 的にはその価値が増すかもしれません。破壊的更新を一切行わず、代わりに遅延評価を用いるという方針は、Haskell にこそ向いたものです。実際、GHC や Hugs などの Haskell の処理系に付属するライブラリには、Data.Queue や Data.Sequence など、本書で述べられているテクニックやその発展を使っているものもあります。

また、SML のような本来遅延評価ではない言語に遅延評価を差し込んでいくという形で議論が展開されていくため、遅延評価って何が良いのかよくわからない人は本書を読むことで遅延評価というものの価値を知ることができるでしょう。

本書のソースコードは SML を使って書かれていますが、巻末に Haskell でのコードが載っているので、巻末のコードと照らし合わせながら読めば Haskell しか知らない人であっても分からないということはないと思います。

ただ、一点注意しておかなればならないのは、本書はその性格上アルゴリズムの知識を前提とすることです。他にアルゴリズム本を読んだことがなければ、先に何か適当な本を読んでおくと良いでしょう。Algorithms: A Functional Programming Approach という Haskell を使ったアルゴリズム本があるので、Haskell をやっている人であれば先にこれを読んでおくと良いかもしれません。
このレビューは参考になりましたか?
Amazon.com で最も参考になったカスタマーレビュー (beta)
Amazon.com:  10件のカスタマーレビュー
103 人中、102人の方が、「このレビューが参考になった」と投票しています。
An elegant book 2005/3/31
By Randall Helzerman - (Amazon.com)
形式:ペーパーバック
Okasaki's slim volume is one of the best expositions on implementing data structures & algorithms in a functional language. After taking an introductory course on functional programming, this would be the book which tells you where to go next.

This book doesn't just present a rehash/rewrite of imperative data structures, only written in a functional language. Instead, Okasaki makes sure to emphasize benefits which only functional programming can bring to the table. For example, many functional data structures can compactly represent not just their current state, but all of their past states as well--a feature called "Persistence". Also, functional newbie programmers might be wondering why lazy vs. strict programming is a big deal, and Okasaki shows clearly where data structures can benefit from either being lazy or being strict.

For the advanced reader, Okasaki also presents several powerful techniques for analyzing the runtime of algorithms, including the so-called "Banker's Method" and the "Physicist's Method" for analyzing amortized algorithms.

I hope that Okasaki comes out with a 2nd edition of this book; there is one missing piece in particular which I really wish he would have included: Although he presents an EXTREMELY lucid description of how to implement Red-Black trees in a functional language, he only presented algorithms for insertion and querying. Of course, deletion from a red-black tree is the hardest part, left here, I suppose, as an exercise to the student. If you want to supply this missing piece yourself, check out a paper by Stefan Kars, "Red-black trees with types", J. Functional Programming 11(4):425-432, July, 2001. It presents deletion routines, but you'll still want to read Okasaki's book first, for unless you're very much smarter than me you won't be able to understand Kars' paper until you read Okasaki's exposition of red black trees.

Finally, this book is not just useful for programmers in functional languages; logic programmers, using prolog or a varient, will also find this book very helpful, because most of the techniques (all of the techniques, really, with the exception perhaps of the lazy programming stuff) can be directly applied in a prolog programming setting as well.

After reading this book and implementing some of the data structures for yourself, you'll be amazed at how fast algorithms can run, even when written in a functional language!
47 人中、41人の方が、「このレビューが参考になった」と投票しています。
Strange choice of implementation languages 2006/11/7
By S. Brickner - (Amazon.com)
形式:ペーパーバック
The description of the book says it includes source code in both ML and Haskell. Unfortunately, the body of the text uses ML exclusively, and the Haskell code is banished to an appendix.

I say "unfortunately", because many of the data structures used depend on lazy evaluation, which comes quite naturally to Haskell, and seems to require some sort of non-standard extension in ML.

While the content is good, I wish it would have used Haskell as the primary exposition language.
36 人中、29人の方が、「このレビューが参考になった」と投票しています。
Hash Tables are included, briefly. 2001/11/24
By カスタマー - (Amazon.com)
形式:ペーパーバック
A correction to another review: Hash Tables are included, briefly.
カスタマーレビューの検索
この商品のカスタマーレビューだけを検索する

クチコミ

クチコミは、商品やカテゴリー、トピックについて他のお客様と語り合う場です。お買いものに役立つ情報交換ができます。
この商品のクチコミ一覧
内容・タイトル 返答 最新の投稿
まだクチコミはありません

複数のお客様との意見交換を通じて、お買い物にお役立てください。
新しいクチコミを作成する
タイトル:
最初の投稿:
サインインが必要です
 

クチコミを検索
すべてのクチコミを検索
   


リストマニア

リストを作成

関連商品を探す


同じキーワードの商品を探す


フィードバック


Amazon.co.jpのプライバシー ステートメント Amazon.co.jpの発送情報 Amazon.co.jpでの返品と交換