I understand that if I had the operator c = a AND b, if a was false, then the compiler would not evaluate b, it would know the result, because a is already false.
However, if I had a function that was recursive, and ANDing was recursive calls.
So myfunc input1 input2 = and[myfunc(input1),myfunc(input2)]
if a function returns from any point in the above recursive function tree returned false, will the calls to the recursive function end and the value false will simply be evaluated at the origin of the call?
In other words, will he use the lazy score above?
source
share