Quite often (or at least in project I’ve been working), I have defined functions that take Lists as argument. In order to make it reusable where I have only one element to work with, I’ve ended up doing
method(List(element)). Having a implicit of the following
implicit def toList[T](a: T): List[T] = List(a) would then let me use the method as
method(element). This would make the project base consistent across
Any thoughts why this may be not a good thing?