How to avoid stack overflow errors in Scala

welcome to shbcf.ru