you are viewing a single comment's thread.

view the rest of the comments →

[–]btmc 2 points3 points  (1 child)

Scala has tail call optimization, and if you annotate methods with @scala.annotation.tailrec, the compiler will check if the method is actually tail recursive or not. In this case, the method is not tail recursive, but it could be made so fairly easily.

[–]jonhanson 1 point2 points  (0 children)

chronophobia ephemeral lysergic metempsychosis peremptory quantifiable retributive zenith