<?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.5 本章のまとめ なるほど、たしかにHaskellの型クラスはJavaのインターフェイスに似ていますね。 では練習問題に進みます。 9.6 練習問題 うぅ、今回の練習問題、多いですね。一つ一つじっくりやっていきましょう。 まずは一つ目の問題。こんな感じかな。 {-- Line型クラス定義 Int:: String:: --} data Line = Line Int String 続いて上記Line型クラスの変数を宣言してprintします。 {-- Line型クラス定義 Int:: String:: --} data Line = Line Int String deriving Show…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyohpapa.hatenadiary.org%2Fentry%2F20100803%2F1280786925&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-08-03 07:08:45</published>
  <title> 型と型クラス</title>
  <type>rich</type>
  <url>https://yohpapa.hatenadiary.org/entry/20100803/1280786925</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
