Enhance Predfined Methods in Scala
- by fratnk
Base question:
Why can I write in Scala just:
println(10)
Why don't I need to write:
Console println(10)
Followup question:
How can I introduce a new method "foo" which is everywhere visible and usable like "println"?