<?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 代数的データ型 セレクタについて C言語に慣れている私にとっては、フィールドラベル＋セレクタの使い方が一番しっくり来ますね。 こんな感じ。 {-- セレクタを使ってフィールド値を取得する。 --} main = do print $ aSize tagtag print $ aColor tagtag print $ aStr tagtag data Font = Font {aSize :: Int, aColor :: String, aStr :: String} tagtag :: Font tagtag = Font 14 &quot;red&quot; &quot;This is font tag.&quot; …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyohpapa.hatenadiary.org%2Fentry%2F20100721%2F1279663713&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-21 07:08:33</published>
  <title> 型と型クラス</title>
  <type>rich</type>
  <url>https://yohpapa.hatenadiary.org/entry/20100721/1279663713</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
