TwoTails
TwoTails copied to clipboard
A Scala compiler plugin for mutual tail recursion
Currently only the constant memory styled transformation supports by-name parameters. The following will fail to compile: ```scala @mutualrec def foo(f: => Int): Int = //... @mutualrec def bar(x: => Int):...
I'm currently writing a program that utilizes copy-on-write semantics, which means writing a lot code that looks something like this: ```scala class COWList(var v:Int, var n:COWList) { var shared:Boolean =...
Instead of commenting out code that shouldn't compile and then individually testing each one, it would be nice if [Partest](https://github.com/scala/scala-partest) became part of the testing strategy.