Is it possible to leave out some implicit parameters but not all of them? I tried with named parameters:
def foo(implicit a: Int, b: String) { if (a > 0
Not sure what you're trying to achieve, but something like this could do:
def foo(implicit a: Int, b: String): Unit = { def helper(a: Int)(implicit b: String): Unit = if (a > 0) { println(b) helper(a - 1) } helper(a) }