<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ikaro1192</author_name>
  <author_url>https://blog.hatena.ne.jp/ikaro1192/</author_url>
  <blog_title>まどろみの思考空間</blog_title>
  <blog_url>https://hogespace.hatenablog.jp/</blog_url>
  <categories>
    <anon>Python</anon>
    <anon>練習</anon>
    <anon>プログラミング</anon>
  </categories>
  <description>最近関数型言語始めようと「すごいH本」買ってHaskellはじめました。が、いかんせん文法なれない...そこで概念を理解しているというか多少は慣れてるPythonでいろいろ実装してみてます。その第一弾。エラトステネスの篩。なぜこれか？実はサークルのC++講座の課題で出したので僕はこれを関数が多っぽく書こうと思い。 以下のようなコードになりました。 def getPrimeList(m): def PrimeList_imp(PrimeList,n): if (len(PrimeList)==(n)): return PrimeList return PrimeList_imp(filter(l…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhogespace.hatenablog.jp%2Fentry%2F2012%2F07%2F03%2F220406&quot; title=&quot;Pythonで関数型言語っぽくエラトステネスの篩 - まどろみの思考空間&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>2012-07-03 22:04:06</published>
  <title>Pythonで関数型言語っぽくエラトステネスの篩</title>
  <type>rich</type>
  <url>https://hogespace.hatenablog.jp/entry/2012/07/03/220406</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
