In Scala , why would such an expression return AnyVal? (I was expecting a boolean)
if (expr0)
if ((expr1)&&(expr2))
true
else if (expr3)
false
else
recFun(arg0, arg1)
Note 1: recFun is a recursive function...
Note 2: It is the last line of the recursive function itself...