Consider supplying an "implies" operator, often denoted =>, for boolean expressions. Example:
if (itIsRaining => iAmUsingUmbrella) {
println 'I am dry'
}
itIsRaining => iAmUsingUmbrella is equivalent with !itIsRaining | iAmUsingUmbrella but the "implies" version is in many cases intutively more suitable.
Description
Consider supplying an "implies" operator, often denoted =>, for boolean expressions. Example:
if (itIsRaining => iAmUsingUmbrella) {
println 'I am dry'
}
itIsRaining => iAmUsingUmbrella is equivalent with !itIsRaining | iAmUsingUmbrella but the "implies" version is in many cases intutively more suitable.