<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>morchin</author_name>
  <author_url>https://blog.hatena.ne.jp/morchin/</author_url>
  <blog_title>プログラミング日記</blog_title>
  <blog_url>https://morchin.hatenadiary.org/</blog_url>
  <categories>
    <anon>Ruby</anon>
    <anon>Python</anon>
  </categories>
  <description>面白い記事があった。 まめめも: Enumerator とブロックの省略 (http://d.hatena.ne.jp/ku-ma-me/20071129/p1) Enumeratorの３つのメリットとして、外部イテレータとして使える、Enumerable#with_indexが使える、Enumerable#zipの引数に渡せるというのがあったが、Pythonでは基本は全て外部イテレータだし、enumerate()関数があるし、iterableをzipに渡せるので同じことが既にできている。 外部イテレータとして使うときに、e.rewindというメソッドがあったが、これはPythonには存在しな…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmorchin.hatenadiary.org%2Fentry%2F20071217%2Fp1&quot; title=&quot; Enumerator - プログラミング日記&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-12-17 00:00:00</published>
  <title> Enumerator</title>
  <type>rich</type>
  <url>https://morchin.hatenadiary.org/entry/20071217/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
