News for hackers. Stuff that matters.
Re:Scala One Liners by carey on Thursday June 02, 2011 @12:16AM (#2610658)
By the way, it is possible to have methods and values on the package itself, like math.sin(math.Pi), but that hasn't been done with scala.io.

You can also import singleton methods, so if you write

  import io.Source._
then all the fromX methods are available directly.

There are no comments on this comment yet.