The functional if
The if statement is a low level flow construct in most imperative programming languages. It is traditionally used to do things like this: if (some condition is true) { execute branch 1 of code } else { execute branch 2 of code } where different branches of code represent different execution […]