, . , .
, :
def listen(host:String, port:Int = 26000){ ...}
, , 26000, .
implicits :
def listen(host:String, implicit port: Int ) { .. }
implicit val port = 410000
...
listen("localhost")
:
implicit val port = 15000
listen("localhost")
, , , .
:
def f(implicit i: Int = 260000)
, , - 26000, .