Closed
Description
We currently use the
as a replacement of implicitly
. This works well if there is an explicit type argument, i.e.
the[Ordering[String]]
but it looks positively strange when the argument is omitted, i.e
val ord: Ordering[String] = the
One alternative would be to use theGiven
instead. I.e.
theGiven[Ordering[String]]
val ord: Ordering[String] = theGiven
theGiven
is a bit longer but works adequately in both scenarios.
This change is elaborated in #7150 (docs only, no implementation).
Metadata
Metadata
Assignees
Labels
No labels