<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Nobuhisa</author_name>
  <author_url>https://blog.hatena.ne.jp/Nobuhisa/</author_url>
  <blog_title>Nobuhisa's diary</blog_title>
  <blog_url>https://nobuhisa.hatenablog.jp/</blog_url>
  <categories>
    <anon>Python</anon>
  </categories>
  <description>PythonのクロージャはD言語寄りなんでしょうか。 以下のコードは普通に動く &gt;&gt;&gt; b = (lambda x: lambda y: x+y)( 90 ) &gt;&gt;&gt; b( 10 ) 100 でも以下のように累積できない。 &gt;&gt;&gt; def foo1( x ) : ... def foo2( y ) : ... x += y ... return x ... return foo2 ... &gt;&gt;&gt; f = foo1( 95 ) &gt;&gt;&gt; f( 1 ) Traceback (most recent call last): File , line 0, in &lt;string&gt;##36 File , l…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnobuhisa.hatenablog.jp%2Fentry%2F20071122%2F1195730936&quot; title=&quot;Accumulator Generator - Nobuhisa&amp;#39;s diary&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>2007-11-22 20:28:56</published>
  <title>Accumulator Generator</title>
  <type>rich</type>
  <url>https://nobuhisa.hatenablog.jp/entry/20071122/1195730936</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
