Proposed syntax for _root_

Then what about going full-in and add the underscore for relative imports?

import fully.qualified._
import _.relative.name

even though for object and local imports it starts to get clunky

def foo(a: Foo) = {
  import _.a._
  ...
}

import _.Bar._
object Bar
1 Like