<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>xuwei</author_name>
  <author_url>https://blog.hatena.ne.jp/xuwei/</author_url>
  <blog_title>xuwei-k's blog</blog_title>
  <blog_url>https://xuwei-k.hatenablog.com/</blog_url>
  <categories>
    <anon>haskell</anon>
    <anon>scala</anon>
    <anon>scalaz</anon>
  </categories>
  <description>まず、下記の10行程度のScalaコードをご覧ください sealed abstract class Foo[A, B] final case class X[A]() extends Foo[A, A] final case class Y[A, B](a: A, b: B) extends Foo[A, B] object Main { def hoge[F[_, _], A, B, C](foo: Foo[A, B], bar: F[A, C]): F[B, C] = foo match { case X() =&gt; bar case Y(a, b) =&gt; ??? // Yの場合のコードはど…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fxuwei-k.hatenablog.com%2Fentry%2F20140706%2F1404612620&quot; title=&quot;HaskellのGADTsすごいなーと思ったのと、それをscalaz.Leibniz使って頑張る話 - xuwei-k&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>2014-07-06 11:10:20</published>
  <title>HaskellのGADTsすごいなーと思ったのと、それをscalaz.Leibniz使って頑張る話</title>
  <type>rich</type>
  <url>https://xuwei-k.hatenablog.com/entry/20140706/1404612620</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
