<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sirocco</author_name>
  <author_url>https://blog.hatena.ne.jp/sirocco/</author_url>
  <blog_title>sirocco の書いてもすぐに忘れるメモ</blog_title>
  <blog_url>https://sirocco.hatenadiary.org/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>Python Hack : 噛めば噛むほどおいしくなるクロージャの話中島聡さんにクロージャを分り易く解説していただいたので、Ruby でやってみました。 conf=0 data=0 def _get_from_disk(conf,data) config = &quot;初期設定:conf=#{ conf += 1}&quot; lambda do |arg| config + &quot; 無名関数 arg=#{arg} dat=#{data += 1}&quot; end end get = _get_from_disk(conf,data) # ここで get に設定されたのは _get_from_disk 関数が返した無名関…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsirocco.hatenadiary.org%2Fentry%2F20091108%2F1257672710&quot; title=&quot;噛みくだいて貰ったので理解できるクロージャの話 - sirocco の書いてもすぐに忘れるメモ&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-11-08 18:31:50</published>
  <title>噛みくだいて貰ったので理解できるクロージャの話</title>
  <type>rich</type>
  <url>https://sirocco.hatenadiary.org/entry/20091108/1257672710</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
