<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>osyo-manga</author_name>
  <author_url>https://blog.hatena.ne.jp/osyo-manga/</author_url>
  <blog_title>Secret Garden(Instrumental)</blog_title>
  <blog_url>https://secret-garden.hatenablog.com/</blog_url>
  <categories>
    <anon>Vim</anon>
  </categories>
  <description>Vim の patch 7.4.2120 において :function の引数に closure というキーワードが追加された。 これは関数内から関数外の変数を参照するための機能である。 :func-closure には次のような使い方の例が載っている。 function! Foo() let x = 0 function! Bar() closure let x += 1 return x endfunction return function('Bar') endfunction let F = Foo() echo F() &quot; =&gt; 1 echo F() &quot; =&gt; 2 echo F() …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsecret-garden.hatenablog.com%2Fentry%2F2016%2F08%2F02%2F224625&quot; title=&quot;Vim script の closure を使うべきではない使い方 - Secret Garden(Instrumental)&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>2016-08-02 22:46:25</published>
  <title>Vim script の closure を使うべきではない使い方</title>
  <type>rich</type>
  <url>https://secret-garden.hatenablog.com/entry/2016/08/02/224625</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
