Learn a little implict implicit parameter of Scala every day
What are implicit parameters?
In a function or method, define a parameter modified with the implicit keyword; this parameter is an implicit parameter. Scala will automatically attempt to query objects decorated with implicit in the scope and automatically inject parameters
What is the range of implicit parameters found by Scala?
One is the implicit variable defined by var or val visible in the current scope
One is the implicit value of the concomitant object of implicit parameter type.
The second example