<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yohpapa</author_name>
  <author_url>https://blog.hatena.ne.jp/yohpapa/</author_url>
  <blog_title>Yohpapa’s note</blog_title>
  <blog_url>https://yohpapa.hatenadiary.org/</blog_url>
  <categories>
    <anon>haskell</anon>
  </categories>
  <description>9.2 代数的データ型 再帰的な型について う〜ん、ちょっと難しい。。。一回読んだだけでは理解出来なかった。 細かく読み解いていこう。 本文中にあった例をそのまま使わせていただくと、 data Stack a = Empty | Push a (Stack a) という型宣言。 data Stack a = の部分は問題ないです。 「Stack」は型コンストラクタで、「a」はその引数(型！)。 問題は後半部です。 Empty | Push a (Stack a) 「Empty」は何？ということなんだけど、Preludeの中を探しても、そんな定義見つからない。 そうなんです、「Empty」は引数…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyohpapa.hatenadiary.org%2Fentry%2F20100725%2F1280021947&quot; title=&quot; 型と型クラス - Yohpapa’s note&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-07-25 10:39:07</published>
  <title> 型と型クラス</title>
  <type>rich</type>
  <url>https://yohpapa.hatenadiary.org/entry/20100725/1280021947</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
