robstoll
04/19/2018, 1:39 PMDeactivated User
04/19/2018, 2:03 PMTo be eligible for the tailrec modifier, a function must call itself as the last operation it performs. You cannot use tail recursion when there is more code after the recursive call, and you cannot use it within try/catch/finally blocks. Currently tail recursion is only supported in the JVM backend.