<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>taedium</author_name>
  <author_url>https://blog.hatena.ne.jp/taedium/</author_url>
  <blog_title>taediumの日記</blog_title>
  <blog_url>https://taedium.hatenadiary.org/</blog_url>
  <categories>
    <anon>F#</anon>
  </categories>
  <description>昨日の件、Seq.pairwiseのコードをちょっと変更した関数を作ってもいいかもしれない。 pairwiseを変形したコード たとえばpeekという関数にする。シグネチャは val peek : seq -&gt; seq。module Seq = let peek (source:seq&lt;'T&gt;) = seq { use ie = source.GetEnumerator() if ie.MoveNext() then let iref = ref ie.Current while ie.MoveNext() do let j = ie.Current yield (!iref, true) i…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftaedium.hatenadiary.org%2Fentry%2F20110218%2Fp1&quot; title=&quot; シーケンスで列挙しつつ最後の要素かどうか判定する 2 - taediumの日記&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>2011-02-18 00:00:00</published>
  <title> シーケンスで列挙しつつ最後の要素かどうか判定する 2</title>
  <type>rich</type>
  <url>https://taedium.hatenadiary.org/entry/20110218/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
