In Scala, I frequently have to import multiple packages worth of implicits and other utilities, particularly on the REPL:
import scala.collection.JavaConversions._
import scala.collection.{mutable => mut}
import com.myapp.db._
import com.orm._
val con = connectDb(...)
...
I understand there's no way to import multiple packages in Scala (though package object scopes can help a bit), but what about from the REPL? Is there any way to do this from the REPL without lots of copying and pasting? I also tried using :load, but things imported/created there don't get introduced into the REPL's scope either. I noticed that the :power command does import things into scope.
Update: :load actually does work.
:load? Seems to work fine for me for imports and objects... - huynhjlmut.<TAB>and thought the lack of completions meant nothing was being imported. - YangTABis a recursive acronym forTABs Are Broken. - som-snytt