Implicits



 implicit val somewords = new SomeWords("yeah!")

             

 implicit def string2Int(s: String) =  {

      ((s.toInt)+2)

    }


http://jmj-eclipse.blogspot.com/2010/07/implicits-scala-ide-and-my-mid-gsoc.html

Comments