<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mtoyoshi</author_name>
  <author_url>https://blog.hatena.ne.jp/mtoyoshi/</author_url>
  <blog_title>mtoyoshi開発メモ</blog_title>
  <blog_url>https://mtoyoshi.hateblo.jp/</blog_url>
  <categories>
    <anon>scala</anon>
  </categories>
  <description>部分適用 まず普通の関数。 def sum(a:Int, b:Int, c:Int) = a + b + c val result = sum(1,3,5) // 9 コレをこんなふうに出来る。第三引数を5に固定。 val sum2 = sum(_:Int, _:Int, 5) val result = sum2(1,3) // 9 カリー化 引数が元の関数の最初の引数で、残りの引数を取って結果を返す関数を返す関数のこと。 先ほど定義したsum関数をカリー化するには・・ val sumCurry = (sum _).curried currySum: Int =&gt; (Int =&gt; (Int =…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmtoyoshi.hateblo.jp%2Fentry%2F2013%2F05%2F01%2F111415&quot; title=&quot;部分適用とカリー化 - mtoyoshi開発メモ&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>2013-05-01 11:14:15</published>
  <title>部分適用とカリー化</title>
  <type>rich</type>
  <url>https://mtoyoshi.hateblo.jp/entry/2013/05/01/111415</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
