Boolean Operators

BooleanExpression :
     Expression or Expression
   | Expression and Expression

The operators or and and may be applied to operands of boolean type. The or operator denotes logical 'or', and the and operator denotes logical 'and'.

Warning: These operators do currently not evaluate lazily which is likely to change in the future. (See GitHub issue)


let x: bool = false or true # true