Jim McBeath
Results
2
comments of
Jim McBeath
thos37, Sometimes tailrec and continuations don't mix very well. The CPS transformation can turn loops into recursion and recursion into loops. It may be that the 2.9 compiler is smarter...
thos37, It took me longer to get to it than expected, but I looked at the code and ended up simply removing the @tailrec annotation, as I had suggested below....