{"type":"rich","provider_url":"https://hatena.blog","width":"100%","author_name":"Kazuhira","blog_title":"CLOVER\ud83c\udf40","url":"https://kazuhira-r.hatenablog.com/entry/20130108/1357655874","published":"2013-01-08 23:37:54","blog_url":"https://kazuhira-r.hatenablog.com/","version":"1.0","image_url":null,"description":"\u6628\u65e5\u306b\u7d9a\u3044\u3066\u3001\u4eca\u65e5\u306fSIP-13 Implicit Classes\u3067\u3059\u3002 http://docs.scala-lang.org/sips/pending/implicit-classes.html\u4eca\u307e\u3067Implicit Conversion\u3092\u4f7f\u3046\u4e0a\u3067\u9762\u5012\u306a\u5b9a\u7fa9\u3092\u3001\u697d\u306b\u3057\u3066\u304f\u308c\u308b\u3082\u306e\u306e\u3088\u3046\u3067\u3002\u3053\u308c\u307e\u3067\u306f\u3001\u78ba\u304b\u306b \u5909\u63db\u3059\u308b\u305f\u3081\u306e\u30e1\u30bd\u30c3\u30c9\u5b9a\u7fa9 \u5909\u63db\u5148\u306e\u578b\u306e\u5b9a\u7fa9 \u306e\u4e21\u65b9\u304c\u5fc5\u8981\u3067\u3057\u305f\u304b\u3089\u306d\u3002\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306b\u306f\u3001 implicit class RichInt(n: Int) extends Ordered[Int] { def min(m: Int): Int = if (n <= m) n else m \u2026","title":"Scala 2.10.0 Implicit Classes","height":"190","author_url":"https://blog.hatena.ne.jp/Kazuhira/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkazuhira-r.hatenablog.com%2Fentry%2F20130108%2F1357655874\" title=\"Scala 2.10.0 Implicit Classes - CLOVER\ud83c\udf40\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","categories":["Scala"],"provider_name":"Hatena Blog"}