<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mzp</author_name>
  <author_url>https://blog.hatena.ne.jp/mzp/</author_url>
  <blog_title>みずぴー日記</blog_title>
  <blog_url>https://mzp.hatenadiary.org/</blog_url>
  <categories>
    <anon>SML</anon>
    <anon>30分プログラム</anon>
  </categories>
  <description>30分プログラム、その668。自分で遅延リストを作って、素数計算をしてみました。 明日、研究室で発表をしなければいけないことを考えてると憂鬱になるので、素数を数えるコードを書いてみました。こういう無心で書けるコードは心が落ちつくので、わりとありだと思います。 使い方 - forEach (printLn o Int.toString) primes; で延々と素数が表示されるので、それを見てを心を落ちつける。 ソースコード datatype 'a stream = Nil | Cons of 'a * (unit -&gt; 'a stream) fun cons x y = Cons (x,y);…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmzp.hatenadiary.org%2Fentry%2F20090929%2Fprimes&quot; title=&quot;自分で遅延リストを作って、素数計算 - みずぴー日記&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-09-29 00:00:00</published>
  <title>自分で遅延リストを作って、素数計算</title>
  <type>rich</type>
  <url>https://mzp.hatenadiary.org/entry/20090929/primes</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
