<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>palmo</author_name>
  <author_url>https://blog.hatena.ne.jp/palmo/</author_url>
  <blog_title>ぱるも日記</blog_title>
  <blog_url>https://palmo.hatenadiary.org/</blog_url>
  <categories>
  </categories>
  <description>無名配列や無名ハッシュと同じように、無名の関数（サブルーチン）へのリファレンスも簡単に作成する事ができます。 無名で関数が作れると何が便利なんでしょうか。 例えば、微分のように返り値として関数を生成して返す関数（高階関数）を作りたい場合、関数を「値」として受け渡ししなければなりません。こういった場合、通常の名前付き関数宣言では実現できません。 無名の関数は「匿名関数」「クロージャ」「ラムダ式（これはちょっと違いますが）」などとも呼ばれ、Scheme や Haskell などの関数型プログラミング言語ではよく登場します。抽象化にとても便利な機能です。 無名関数へのリファレンスは sub を名前な…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpalmo.hatenadiary.org%2Fentry%2F20060509%2Fref4&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-05-09 00:00:01</published>
  <title>無名関数（クロージャ）</title>
  <type>rich</type>
  <url>https://palmo.hatenadiary.org/entry/20060509/ref4</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
