<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sshi</author_name>
  <author_url>https://blog.hatena.ne.jp/sshi/</author_url>
  <blog_title>sshi.Continual</blog_title>
  <blog_url>https://sshi.hatenadiary.org/</blog_url>
  <categories>
    <anon>haskell</anon>
  </categories>
  <description>ちょっと感動したのでメモ。もうちょっと長いコードかと思っていたらこれでできるんだな。 primes = sieve [2..] where sieve (s:ss) = s : sieve (filter (\x -&gt; (mod x s) &gt; 0) ss)primesってやると割り込みをかけるまで永遠に素数列が表示され続ける。 *Main&gt; primes [2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,Interrupted.</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsshi.hatenadiary.org%2Fentry%2F20060330%2Fp1&quot; title=&quot;素数の無限列生成 - sshi.Continual&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>2006-03-30 00:00:00</published>
  <title>素数の無限列生成</title>
  <type>rich</type>
  <url>https://sshi.hatenadiary.org/entry/20060330/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
