<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>jeneshicc</author_name>
  <author_url>https://blog.hatena.ne.jp/jeneshicc/</author_url>
  <blog_title>落書き、時々落学</blog_title>
  <blog_url>https://jeneshicc.hatenadiary.org/</blog_url>
  <categories>
    <anon>日記</anon>
    <anon>Haskell</anon>
  </categories>
  <description>MemoTrieのソースを読んで，だいたい理解した． どうやら，内部では Tree を作って，その中に関数の評価値を保持するみたい． まず，全ての入力に対応する出力を Tree の中に保存する．しかし，実際に計算はしない． 遅延評価を利用して，必要になったときだけ評価する．だから， Tree が必要以上に大きくなることはない． 値の読みだしは Tree を探索して，値を見つけたらそれをそのまま返す，未評価ならば，評価． おそらく， Map を利用したメモ化とほとんど同じだが，MemoTrieのほうが 高階関数 っぽい気がする．理解を確かめるために，簡単なMemoを書いてみた． とりあえず，入力…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fjeneshicc.hatenadiary.org%2Fentry%2F20090802%2F1249213463&quot; title=&quot;メモ化 @ Haskell - 落書き、時々落学&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2009-08-02 20:44:23</published>
  <title>メモ化 @ Haskell</title>
  <type>rich</type>
  <url>https://jeneshicc.hatenadiary.org/entry/20090802/1249213463</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
