<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>n9d</author_name>
  <author_url>https://blog.hatena.ne.jp/n9d/</author_url>
  <blog_title>計算機と戯れる日々</blog_title>
  <blog_url>https://n9d.hatenadiary.org/</blog_url>
  <categories>
    <anon>プログラム</anon>
  </categories>
  <description>高階関数は型を前提としている。 型とは整数型とか文字型とかではなく、構造のほうか。 構造とはリスト・木・スタック・キュー等の事か。 文字列型、配列はリスト構造である。 そうか、従来の型はatomに該当し、構造によって高階関数が存在する。 つまり、リスト構造であるならばreduce、map等の高階関数が有用である。 つい木構造はリストで表現できるからリストの高階関数で実装しようとするが、木の専門の高階関数があるはずだ。例えば、リストのmapに該当する木構造の各要素にfを適用する高階関数などがありそうだ。 調べてみよう。rubyだとArrayってリスト構造はあるのに、Treeって木構造はあるのかな…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fn9d.hatenadiary.org%2Fentry%2F20060414%2F1144994887&quot; title=&quot; 高階関数 - 計算機と戯れる日々&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>2006-04-14 15:08:07</published>
  <title> 高階関数</title>
  <type>rich</type>
  <url>https://n9d.hatenadiary.org/entry/20060414/1144994887</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
