<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>gom68</author_name>
  <author_url>https://blog.hatena.ne.jp/gom68/</author_url>
  <blog_title>gom68の日記</blog_title>
  <blog_url>https://gom.hatenablog.com/</blog_url>
  <categories>
    <anon>ruby</anon>
  </categories>
  <description>カリー化 - Wikipedia 複数の引数をとる関数を、引数が「もとの関数の最初の引数」で戻り値が「もとの関数の残りの引数を取り結果を返す関数」であるような関数にすること。 クロージャよりもさっぱりだよ！！ サンプル 書いてみたはいいけどいまいち良さが理解できていない。 Wikipedia に出てきた除算関数 #!/usr/bin/env ruby def div x return lambda{|y| x / y} end d1 = div 10 puts d1.call 2 # &gt;&gt; 5 Ruby1.9 で ラムダらむだ #!/opt/local/bin/ruby1.9 def div …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgom.hatenablog.com%2Fentry%2F20090317%2F1237304226&quot; title=&quot; ついでにカリー化 - gom68の日記&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>2009-03-17 00:37:06</published>
  <title> ついでにカリー化</title>
  <type>rich</type>
  <url>https://gom.hatenablog.com/entry/20090317/1237304226</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
