<?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>phoneBook = [(&quot;betty&quot;, &quot;555-2938&quot;), (&quot;honnie&quot;, &quot;555-2222&quot;), (&quot;party&quot;, &quot;333-1111&quot;), (&quot;hyper&quot;, &quot;999-3838&quot;), (&quot;wendy&quot;, &quot;222-1212&quot;), (&quot;penny&quot;, &quot;888-8888&quot;)] -- キーとリストを受け取り、キーに合致するもののみをフィルタで残して、 -- 最初のキー/値のペアを取り出し、値を返す -- ただし、このやりかただと、キーがなかったらランタイムエラーが出るよ findKey :: (Eq k) =&gt; k -&gt; [(k, v)] -&gt; v findKey ke…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.shigemk2.com%2Fentry%2F20120829%2F1346166376&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-29 00:06:16</published>
  <title>キーから値へのマッピング</title>
  <type>rich</type>
  <url>https://www.shigemk2.com/entry/20120829/1346166376</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
