Paradise for 2.10.x successfully injected Liftable and Unliftable traits into the Universe cake, but term injection is much harder, since everything I can think of involves overwriting existing bytecode in scala-reflect.jar, which is very bad thing to do.
Luckily, we have a really simple workaround here:
Liftable.apply and Unliftable.apply can be easily emulated by creating instances of Liftable and Unliftable.
Standard instances of Liftable and Unliftable, which constitute for the rest of members of the objects in question, don't live in companions in 2.10.x, but can still be summoned via implicitly without any imports.
As our experience shows, there's little demand for this feature, so I'll be recommending either an upgrade to 2.11.x (which is by now well-established in the community) or using the aforementioned workaround.
Paradise for 2.10.x successfully injected Liftable and Unliftable traits into the Universe cake, but term injection is much harder, since everything I can think of involves overwriting existing bytecode in scala-reflect.jar, which is very bad thing to do.
Luckily, we have a really simple workaround here: