<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sirocco</author_name>
  <author_url>https://blog.hatena.ne.jp/sirocco/</author_url>
  <blog_title>sirocco の書いてもすぐに忘れるメモ</blog_title>
  <blog_url>https://sirocco.hatenadiary.org/</blog_url>
  <categories>
    <anon>Haskell</anon>
  </categories>
  <description>プログラミング Haskell 5.2 リスト内包表記・ガード ガードはリストの前方で生成した値を間引く。 Prelude&gt; [x|x&lt;-[1..10]] [1,2,3,4,5,6,7,8,9,10] Prelude&gt; [x|x&lt;-[1..10], even x] [2,4,6,8,10] Prelude&gt; [x|x&lt;-[1..10], even x, x &gt; 5] [6,8,10] 1からnまでの約数を求める。 Prelude&gt; let factors n = [x|x&lt;-[1..n], n `mod` x == 0] Prelude&gt; factors 15 [1,3,5,15] 約数が1と…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsirocco.hatenadiary.org%2Fentry%2F20100327%2F1269677833&quot; title=&quot;プログラミング Haskell 読書メモ 5.2 リスト内包表記・ガード - sirocco の書いてもすぐに忘れるメモ&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>2010-03-27 17:17:13</published>
  <title>プログラミング Haskell 読書メモ 5.2 リスト内包表記・ガード</title>
  <type>rich</type>
  <url>https://sirocco.hatenadiary.org/entry/20100327/1269677833</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
