<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Kazuhira</author_name>
  <author_url>https://blog.hatena.ne.jp/Kazuhira/</author_url>
  <blog_title>CLOVER🍀</blog_title>
  <blog_url>https://kazuhira-r.hatenablog.com/</blog_url>
  <categories>
    <anon>Scala</anon>
  </categories>
  <description>昨日に続いて、今日はSIP-13 Implicit Classesです。 http://docs.scala-lang.org/sips/pending/implicit-classes.html今までImplicit Conversionを使う上で面倒な定義を、楽にしてくれるもののようで。これまでは、確かに 変換するためのメソッド定義 変換先の型の定義 の両方が必要でしたからね。ドキュメントには、 implicit class RichInt(n: Int) extends Ordered[Int] { def min(m: Int): Int = if (n &lt;= m) n else m …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkazuhira-r.hatenablog.com%2Fentry%2F20130108%2F1357655874&quot; title=&quot;Scala 2.10.0 Implicit Classes - CLOVER🍀&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-01-08 23:37:54</published>
  <title>Scala 2.10.0 Implicit Classes</title>
  <type>rich</type>
  <url>https://kazuhira-r.hatenablog.com/entry/20130108/1357655874</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
