<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shigemk2</author_name>
  <author_url>https://blog.hatena.ne.jp/shigemk2/</author_url>
  <blog_title>by shigemk2</blog_title>
  <blog_url>https://www.shigemk2.com/</blog_url>
  <categories>
    <anon>Haskell</anon>
  </categories>
  <description>数学における集合の内包的記法に近い。 # xにリストを代入して、パイプの左側でリストの各要素を2倍して出力する Main&gt; [x*2 | x &lt;- [1..10]] [2,4,6,8,10,12,14,16,18,20] # パイプの右側で条件を指定する(述語を指定する、つまりフィルタをかける) Main&gt; [x*2 | x &lt;- [1..10], x*2 &gt;= 12] [12,14,16,18,20] # フィルタかけの別の例 xを7で割って3余るときの数値のみを出力する Main&gt; [x | x &lt;- [50..100], x `mod` 7 == 3] [52,59,66,73,80,8…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.shigemk2.com%2Fentry%2F20120816%2F1345125836&quot; title=&quot;リスト内包表記 - by shigemk2&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-08-16 23:03:56</published>
  <title>リスト内包表記</title>
  <type>rich</type>
  <url>https://www.shigemk2.com/entry/20120816/1345125836</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
