Monday, January 19, 2009

Ch2, Ex8

(a) Yes, same result and it avoids evaluation of <expression2> when <expression1> returns false.

(b)

fun {OrElse BP1 BP2}
if {BP1} then true else {BP2} end
end

No comments:

Post a Comment