Re:Dependency injection is dynamic scoping in disguise
by erik_seaberg on Thursday October 31, 2019 @12:22PM
(#21410460)
Scala implicits. It's a curried arg list you can omit, but the compiler checks that you have implicit values of all the needed types in scope. Or you can pass whatever you want explicitly.
https://docs.scala-lang.org/tour/implicit-parameters.html