<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>nushio</author_name>
  <author_url>https://blog.hatena.ne.jp/nushio/</author_url>
  <blog_title>nushio's diary</blog_title>
  <blog_url>https://nushio.hateblo.jp/</blog_url>
  <categories>
  </categories>
  <description>Haskellで、同じ型クラスだけど違う型のオブジェクトを、一つのリストとかにツッコんでその型クラスの関数に関してはmapとかできるようにしたいというのは、よくある願いだと思う。ていうかMonadiusつくった時にはそうする方法を知らんかったので仕方なく型を１種類だけにして全部突っ込んだのでえらいことになっていた。若気の至りこないだ id:tanakh さんからアドバイスをもらってたのを試してみたら簡単にできた。 {-# OPTIONS -XExistentialQuantification #-} data A = forall a. Show a =&gt; A a instance Show …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnushio.hateblo.jp%2Fentry%2F20100610%2Fp1&quot; title=&quot; Haskellで型クラスを同一のリストに突っ込む - nushio&amp;#39;s diary&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-06-10 00:00:00</published>
  <title> Haskellで型クラスを同一のリストに突っ込む</title>
  <type>rich</type>
  <url>https://nushio.hateblo.jp/entry/20100610/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
