def doThing(implicit ec: ExecutionContext) = Can be replaced by: type EC[_] = ExecutionContext and def doThing[_ : EC] =