<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>katona</author_name>
  <author_url>https://blog.hatena.ne.jp/katona/</author_url>
  <blog_title>MEMO:はてな支店</blog_title>
  <blog_url>https://katona.hatenadiary.org/</blog_url>
  <categories>
    <anon>Haskell</anon>
  </categories>
  <description>haskellの型でハマった事例その3 main = print []これを実行すると以下のようなエラーになる。 Ambiguous type variable `a' in the constraint: `Show a' arising from use of `print' at a.hs:1:7-11 Probable fix: add a type signature that fixes these type variable(s)[]は[a]型の値だが、中身の値が一つもないので型変数aの型が推論出来ないのが気に入らないようだ。 なので、以下のように具体的な型を決めてやると文句を言…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkatona.hatenadiary.org%2Fentry%2F20071214%2Fp2&quot; title=&quot;空リストのエラー - MEMO:はてな支店&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>2007-12-14 00:00:01</published>
  <title>空リストのエラー</title>
  <type>rich</type>
  <url>https://katona.hatenadiary.org/entry/20071214/p2</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
