:: Bool -> a -> a -> a package:utility-ht

if-then-else as function. Example:
if' (even n) "even" $
if' (isPrime n) "prime" $
"boring"
The same as if', but the name is chosen such that it can be used for GHC-7.0's rebindable if-then-else syntax.