Type case is evil, but if you're going to do it you should at least do it accurately (with #shapeless's Typeable): https://github.com/milessabin/shapeless/blob/e6c5e714adede724ac319426b32b6c1aeb6c0b12/core/src/test/scala/shapeless/typeable.scala#L345 …
@xeno_by @milessabin Last time I tried using TypeTag for something similar, I hit concurrency issues. Is TypeTag thread safe?
-
-
@tixxit@milessabin In Scala 2.11, yes. -
@xeno_by@milessabin OK, great. I was using 2.10 when I used it last. Will I get a lot of lock contention if I use them heavily? - 4 more replies
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.