'scala implicit question: I have a method to return multiple values, can I set one of the returned values to an implicit value?
//example, I want to make val2 as an implicit,
//val2 will be used later as an implicit value
implicit val (val1, val2) = returnMultipleValuesMethod()
//but I don't want val1 be an implicit
is a better way (only want val2 be an implicit)?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
