This is the least stressful poll you'll hear about all day: which naming convention do you prefer for a `TypeClass[Foo]` instance in Scala?
It's a horrible way to work around accidental shadowing, but it's the best I've got.
-
-
but how do you shadow implicits though? I thought names were irrelevant, just precedence order?
-
You can shadow one implicit with another one which has the name name just by redefining the ident or importing!
- Show replies
New conversation -
-
-
I can do better: implicit val `this TypeClass instance for Foo really, really doesn't want to get shadowed` = …
-
Also works. ;)
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.