- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
Re: merging scala-virtualized into trunk, hidden behind -Yvirtualize
Wed, 2012-01-18, 22:17
nothing is set in stone, so this is the perfect time to send us your wishlist :-)
On Wed, Jan 18, 2012 at 10:15 PM, Erik Osheim <erik@plastic-idolatry.com> wrote:
On Wed, Jan 18, 2012 at 10:15 PM, Erik Osheim <erik@plastic-idolatry.com> wrote:
On Wed, Jan 18, 2012 at 07:04:33PM +0100, Adriaan Moors wrote:
> You didn't miss anything. Infix methods are unlikely to become an
> official feature; they should be superseded by inlined implicit
> classes.
Is there documentation about how inlined implicit classes will work?
I'm hoping it means something like:
a + b --> new GenericOps(a).+(b) --> GenericOps.+(a, b)
Would inlined implicit classes avoid creating the anonymous GenericOps
object (assuming it didn't do any work in its constructor)?
On Wed, Jan 18, 2012 at 10:16:38PM +0100, Adriaan Moors wrote:
> nothing is set in stone, so this is the perfect time to send us your
> wishlist :-)
Awesome. :)
The issues I face (and the infix operator inlining solution I used) are
described in the paper I'm submitting to ScalaDays. I bet many others
are in the same situation.
Thanks,