<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>j5ik2o</author_name>
  <author_url>https://blog.hatena.ne.jp/j5ik2o/</author_url>
  <blog_title>かとじゅんの技術日誌</blog_title>
  <blog_url>https://blog.j5ik2o.me/</blog_url>
  <categories>
  </categories>
  <description>trait 便利ですね！ メソッド名が衝突する。 override を指定してやると動く。 scala&gt; (new M with N { override def m = super[N].m }).m() hi @rosylilly Scala の Trait trait Mとtrait Nは継承関係もないので別の型として識別されているから仕方ないんだろうなと推測。まぁ静的型付強い言語でこのような解決手段を提供しているのは、単純にすごいなと思う。とはいえ、もうちょい楽できないかという話はある。というとで、やはり型を意識した方が楽になるね!!! ってことで考えてみた。 次の例では、自分型アノテ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.j5ik2o.me%2Fentry%2F2013%2F05%2F06%2F081900&quot; title=&quot;Re: Scala の Trait - かとじゅんの技術日誌&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>2013-05-06 08:19:00</published>
  <title>Re: Scala の Trait</title>
  <type>rich</type>
  <url>https://blog.j5ik2o.me/entry/2013/05/06/081900</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
