<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>faith_and_brave</author_name>
  <author_url>https://blog.hatena.ne.jp/faith_and_brave/</author_url>
  <blog_title>Faith and Brave - C++で遊ぼう</blog_title>
  <blog_url>https://faithandbrave.hateblo.jp/</blog_url>
  <categories>
    <anon>Haskell</anon>
  </categories>
  <description>ふつけるだとリスト内包表記について１ページしか書かれていなかったのですが 『関数プログラミング』ではけっこうくわしく書かれていて、 サンプルもいっぱい載ってるのでわかりやすいです。 ということで、お試しをいくつか書きます。 単純な1〜3の要素を持つリストの生成 [x | x &lt;- [1..3]] → [1, 2, 3] 1〜10のリストから取り出したxで、偶数であるxに対してx * xしたリストの生成 [x * x | x &lt;- [1..10], even x] → [4, 16, 36, 64, 100] 組み合わせのリスト生成 [(a, b) | a &lt;- [1..3], b &lt;- [1.…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffaithandbrave.hateblo.jp%2Fentry%2F20090226%2F1235643904&quot; title=&quot; リスト内包表記 - Faith and Brave - C++で遊ぼう&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-02-26 19:25:04</published>
  <title> リスト内包表記</title>
  <type>rich</type>
  <url>https://faithandbrave.hateblo.jp/entry/20090226/1235643904</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
