I\'m making a simple dependency injection framework, for constructor injection, in Scala. The idea is that objects that are DI\'d put their required services in their constr
trait Construct[T, A] { def apply(arg: A): T } class Constructor[T]{ def apply[A](arg : A)(implicit construct : Construct) = construct(arg) } object Constructor { def apply[T] = new Constructor[T] } Constructor[T]("arg")