<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>syou6162</author_name>
  <author_url>https://blog.hatena.ne.jp/syou6162/</author_url>
  <blog_title>yasuhisa's blog</blog_title>
  <blog_url>https://www.yasuhisay.info/</blog_url>
  <categories>
  </categories>
  <description>deriving宣言 Line型はShowクラスのインスタンスなのであとは処理系が適宜クラスメソッドを用意しろ、という意味。どういうことですか。。。 data Line = Line Int String deriving Show main = do print $ Line 2 &quot;fjadsfkas&quot; 出力 Line 2 &quot;fjadsfkas&quot; フィールドラベルを付けてみる data Line = Line { number :: Int, string :: String } deriving Show main = do print $ Line 2 &quot;fjadsfkas&quot; 出力もラベ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.yasuhisay.info%2Fentry%2F20080313%2F1205384456&quot; title=&quot;9章練習問題 - yasuhisa&amp;#39;s blog&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>2008-03-13 14:00:56</published>
  <title>9章練習問題</title>
  <type>rich</type>
  <url>https://www.yasuhisay.info/entry/20080313/1205384456</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
