<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yuroyoro</author_name>
  <author_url>https://blog.hatena.ne.jp/yuroyoro/</author_url>
  <blog_title>( ꒪⌓꒪) ゆるよろ日記</blog_title>
  <blog_url>https://yuroyoro.hatenablog.com/</blog_url>
  <categories>
    <anon>scala</anon>
  </categories>
  <description>Yコンビネータの定義: def Y[A,B]( f:((A =&gt; B), A ) =&gt; B, x:A ):B = f( ( y:A ) =&gt; Y( f,y ),x ) Yコンビネータってのは、要は Y(f) = f(Y(f))となる関数らしい。不動点演算子とか呼ばれていますがなんのことかわかりませんね。 「ある関数fをYに与えた結果できる関数をf'とすると、f'をまたYに与えてできる関数はfと同じ」になるように関数を作り出すものです。 何でこんなもん必要なの? ある無名関数があるとしましょう。この無名関数は名前が定義されていないため、自身を再帰で呼び出す定義ができません。 単純に、0から引数n…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyuroyoro.hatenablog.com%2Fentry%2F20100204%2F1265285318&quot; title=&quot;scalaでYコンビネータ - ( ꒪⌓꒪) ゆるよろ日記&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>2010-02-04 21:08:38</published>
  <title>scalaでYコンビネータ</title>
  <type>rich</type>
  <url>https://yuroyoro.hatenablog.com/entry/20100204/1265285318</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
