<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>penguinwatcher</author_name>
  <author_url>https://blog.hatena.ne.jp/penguinwatcher/</author_url>
  <blog_title>メモ日記</blog_title>
  <blog_url>https://penguinwatcher.hatenadiary.org/</blog_url>
  <categories>
    <anon>PG</anon>
    <anon>Haskell</anon>
    <anon>亀</anon>
  </categories>
  <description>2006-11-29 - メモ日記の記事の課題2。データ構造にダミーのデータコンストラクタが入ったのは、tParseというクラスメソッドをすべてのデータ型に対して実装しようとしたのが原因。これをしようとしたことで、tParseの引数と返り値が(a,[String])という型で規定されてしまう。引数としてaが必要ということは、パースする前からデータが必要ということを意味する。ダミーのデータコンストラクタは、この「パースする前のデータ」にあたる。つまり、ダミーのデータコンストラクタを消すには、型クラスを用いてすべてのデータ型に対してtParseを定義するのをやめればよい。各データ型に対するパース関…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpenguinwatcher.hatenadiary.org%2Fentry%2F20061206%2F1165428674&quot; title=&quot; 課題2 データ構造をBNFに合わせる - メモ日記&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>2006-12-06 03:11:14</published>
  <title> 課題2 データ構造をBNFに合わせる</title>
  <type>rich</type>
  <url>https://penguinwatcher.hatenadiary.org/entry/20061206/1165428674</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
