module Relational

Module containing relational operators.

Author: Rudla Kudla
Version: 1.0

syntax {min} < {x} < {max:func}

Test whether x is bigger than min and lower than max.
If the x is lower or equal to min, max is not evaluated.

Example

10 < 15 < 20 >> true 10 < 9 < 15 >> false 10 < 15 < 15 >> false min < x and x < max

syntax {min} <= {x} <= {max:func}

Test whether x is bigger or equal to min and lower or equal to max.
If the x is lower or equal to min, max is not evaluated.

Example

10 < 15 < 20 >> true 10 < 9 < 15 >> false 10 < 15 < 15 >> false min < x and x < max