<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yich</author_name>
  <author_url>https://blog.hatena.ne.jp/yich/</author_url>
  <blog_title>タイプするサル</blog_title>
  <blog_url>https://yich.hatenadiary.org/</blog_url>
  <categories>
    <anon>Haskell</anon>
  </categories>
  <description>関数型なら更に単体テストが有効だろうと、これを機会に単体テストの習慣を身につけようと思ったのですが、ファイルから関数への入力データを読み込んで結果を確認するだけのことがHUnitでできない。 ファイルから読み込もうとすると、IOモナドの世界に入り、そこから結果が取り出せなくなる。 うーん、どうしたもんか。 追記： runTestTTがIOを返す関数だったので、こいつを取り込むように書いたらできました。 でも、do式中でのリストの扱い方がわからず、以下のように不細工。 completeLifeFiles = [&quot;completeLife1.sgf&quot;, &quot;completeLife2.sgf&quot;, &quot;…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyich.hatenadiary.org%2Fentry%2F20090208%2F1234055902&quot; title=&quot;Haskellの欠点？ - タイプするサル&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-08 10:18:22</published>
  <title>Haskellの欠点？</title>
  <type>rich</type>
  <url>https://yich.hatenadiary.org/entry/20090208/1234055902</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
