<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sirocco</author_name>
  <author_url>https://blog.hatena.ne.jp/sirocco/</author_url>
  <blog_title>sirocco の書いてもすぐに忘れるメモ</blog_title>
  <blog_url>https://sirocco.hatenadiary.org/</blog_url>
  <categories>
    <anon>Haskell</anon>
  </categories>
  <description>ジェネリックな関数を定義してみます。 data Person = Japanese String | English String String sayHello :: Person -&gt; String sayHello (English a b) = a++&quot;,&quot;++b++&quot;!!&quot; sayHello (Japanese a) = a++&quot;,&quot;++a++&quot;,&quot;++a ghci&gt; sayHello (Japanese &quot;hello&quot;) -- =&gt; &quot;hello,hello,hello&quot; ghci&gt; sayHello (English &quot;hello&quot; &quot;world&quot;) -- =&gt; &quot;hello,w…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsirocco.hatenadiary.org%2Fentry%2F20110130%2F1296384707&quot; title=&quot;class を作ってみる。 - sirocco の書いてもすぐに忘れるメモ&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>2011-01-30 19:51:47</published>
  <title>class を作ってみる。</title>
  <type>rich</type>
  <url>https://sirocco.hatenadiary.org/entry/20110130/1296384707</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
