<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>nnao45</author_name>
  <author_url>https://blog.hatena.ne.jp/nnao45/</author_url>
  <blog_title>nがひとつ多い。</blog_title>
  <blog_url>https://nnao45.hatenadiary.com/</blog_url>
  <categories>
  </categories>
  <description>カリー この事らしい。 def curry[A,B,C](f: (A, B) =&gt; C): A =&gt; (B =&gt; C) = (a: A) =&gt; (b =&gt; f(a, b)) // curry: [A, B, C](f: (A, B) =&gt; C)A =&gt; (B =&gt; C) 異なる型パラメータA,B,Cに対してA,Bを引数に取り戻り値がCとなるような関数をAを引数にして戻り値をBを引数にしてCを戻り値にする関数 ってことね 😓 具体化 先ほどの関数curryに対し、代入できる関数を用意する。 def sum(a: Int, b: Short): Long = a + b // sum: (a: I…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnnao45.hatenadiary.com%2Fentry%2F2019%2F08%2F02%2F140206&quot; title=&quot;【Scala】関数型初心者のカリーの勉強 - nがひとつ多い。&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>2019-08-02 14:02:06</published>
  <title>【Scala】関数型初心者のカリーの勉強</title>
  <type>rich</type>
  <url>https://nnao45.hatenadiary.com/entry/2019/08/02/140206</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
