<?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>scala</anon>
    <anon>dotty</anon>
  </categories>
  <description>今までのScala 2だとAux Patternやimplicit色々使って書くようなやつが、3だとこうやって書けるよ、という話。 https://gist.github.com/xuwei-k/924c69482c972d7bac496922ed725f79 でもこれだと、型は生成出来ても、valueOfなどで実際の値が生成できないんだけど、どうすればいいのか少し悩んだけどよくわからなかったので、一旦諦めた・・・。 あと、TupleをHList的に使おうとしたけど、 (1, 2, 3) が (Int, Int, Int) になってしまって、いい感じに扱えなかったので、わざわざHListを自作…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fxuwei-k.hatenablog.com%2Fentry%2F2021%2F02%2F21%2F153451&quot; title=&quot;Scala 3のMatch Typesを使って型レベルsort - 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>2021-02-21 15:34:51</published>
  <title>Scala 3のMatch Typesを使って型レベルsort</title>
  <type>rich</type>
  <url>https://xuwei-k.hatenablog.com/entry/2021/02/21/153451</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
